Class SmartDocument
Represents a smart design document value.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TopSolid.Cad.Design.Automating
Assembly: TopSolid.Cad.Design.Automating.dll
Syntax
[DataContract]
[AvailableSinceVersion(7, 17, 0, 0)]
[KnownType(typeof(SmartCoating))]
[KnownType(typeof(SmartFinishing))]
[KnownType(typeof(SmartMaterial))]
public abstract class SmartDocument : SmartDesignObject
Remarks
This class is available since v7.17.
Constructors
SmartDocument(DocumentId)
Initializes a new instance of the SmartDocument class of type Basic
Declaration
public SmartDocument(DocumentId inDocumentId)
Parameters
Type | Name | Description |
---|---|---|
DocumentId | inDocumentId | Document identifier of the document to reference. |
SmartDocument(DocumentId, DocumentReferenceType)
Initializes a new instance of the SmartDocument class of type Basic
Declaration
public SmartDocument(DocumentId inDocumentId, DocumentReferenceType inReferenceType)
Parameters
Type | Name | Description |
---|---|---|
DocumentId | inDocumentId | Document identifier of the document to reference. |
DocumentReferenceType | inReferenceType | Document reference type of the SmartDocument. |
SmartDocument(ElementId)
Initializes a new instance of the SmartDocument class of type Element.
Declaration
public SmartDocument(ElementId inElementId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of providing element. |
SmartDocument(ElementId, DocumentReferenceType)
Initializes a new instance of the SmartDocument class of type Element.
Declaration
public SmartDocument(ElementId inElementId, DocumentReferenceType inReferenceType)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of providing element. |
DocumentReferenceType | inReferenceType | Document reference type of the SmartDocument. |
Fields
Document
Document of the smart object.
Declaration
[DataMember]
public DocumentId Document
Field Value
Type | Description |
---|---|
DocumentId |
ElementId
Providing element identifier, or empty if none.
Declaration
[DataMember]
public ElementId ElementId
Field Value
Type | Description |
---|---|
ElementId |
ReferenceType
Providing element item label, or empty if none.
Declaration
[DataMember]
public DocumentReferenceType ReferenceType
Field Value
Type | Description |
---|---|
DocumentReferenceType |
Type
Type of smart document.
Declaration
[DataMember]
public SmartDocumentType Type
Field Value
Type | Description |
---|---|
SmartDocumentType |