Class SmartMaterial
Represents a smart material.
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)]
public class SmartMaterial : SmartDocument
Remarks
This class is available since v7.17.
Constructors
SmartMaterial(DocumentId)
Initializes a new instance of the SmartMaterial class of type Basic
Declaration
public SmartMaterial(DocumentId inDocumentId)
Parameters
Type | Name | Description |
---|---|---|
DocumentId | inDocumentId | Document identifier of the document to reference. |
SmartMaterial(DocumentId, DocumentReferenceType)
Initializes a new instance of the SmartMaterial class of type Basic
Declaration
public SmartMaterial(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. |
SmartMaterial(ElementId)
Initializes a new instance of the SmartMaterial class of type Element.
Declaration
public SmartMaterial(ElementId inElementId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of providing element. |
SmartMaterial(ElementId, DocumentReferenceType)
Initializes a new instance of the SmartMaterial class of type Element.
Declaration
public SmartMaterial(ElementId inElementId, DocumentReferenceType inReferenceType)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of providing element. |
DocumentReferenceType | inReferenceType | Document reference type of the SmartDocument. |