Description:

Adds a material to the model material table

Syntax:
public int AddMaterial(
Material material
)
Returns:
Type: int
The material's index (>=0) is returned. Otherwise, RhinoMath.UnsetIntIndex is returned.
Available since:
8.4

Nothing found