Constructor SmartMaterial
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. |