MaterialItem Methods

The MaterialItem type exposes the following members.

Methods
  NameDescription
Public methodDelete
Delete this material from material database.
Public methodCode exampleExport
Exports the material item in the material database to given file name. Materials are exported to *.lis format. If path is not given material is exported to model folder. If filename is empty material name is used as filename.
Public methodInsert
Inserts this material item to material database.
Public methodStatic memberMaterialNameMaxLength
Returns the maximum length a material name can be.
Public methodModify
Modifies the material in material database that has the same name as this instance.
Public methodSelect
Selects the material item from the database based on the material name and alias name in this instance.
Public methodSelect(String)
Selects the material item based on the name from the material database. The material name can also be an alias name.
Top
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next