Material

Defines a Material.

Declaration Syntax

public class Material : DataModelObject, IRemovableDataModelObject, IFolderDataModelObject

Table 269: Members

Property

AssignedBodies

Gets the AssignedBodies.

Property

Children

Gets the list of children.

Property

Comments

Gets the list of associated comments.

Property

DataModelObjectCategory

Gets the current DataModelObject's category.

Property

Figures

Gets the list of associated figures.

Property

Images

Gets the list of associated images.

Property

InternalObject

Gets the internal object. For advanced usage only.

Method

AddComment()

Creates a new child Comment.

Method

AddFigure()

Creates a new child Figure.

Method

AddImage(string)

Creates a new child Image. If a filePath is provided, the image will be loaded from that file, if not, the image will be a screen capture of the Geometry window.

Method

AddMaterialAssignment()

Run the AddMaterialAssignment action.

Method

CreateMaterialAssignment() ***OBSOLETE*** Use 'AddMaterialAssignment' instead

Run the CreateMaterialAssignment action.

Method

GetAsDictionary()

Returns material as a python dictionary

Method

GetChildren<ChildrenType>(bool, IList<ChildrenType>)

Gets the list of children, filtered by type.

Method

GetChildren(DataModelObjectCategory, bool, IList<IDataModelObject>)

Gets the list of children, filtered by type.