Material(...)
This method creates a Material object.
Path
materialApi.Material
Prototype
odb_Material& Material(const odb_String& name, const odb_String& description, const odb_String& materialIdentifier);
Required arguments
- name
An odb_String specifying the name of the new material.
Optional arguments
- description
An odb_String specifying user description of the material. The default value is an empty string.
- materialIdentifier
An odb_String specifying material identifier for customer use. The default value is an empty string.
Return value
A Material object.
Exceptions
InvalidNameError.