This function sets the material applied to the object. Equivalent to selecting a material from the Materials combo box in SnS.
Parameter | Description |
---|---|
String GUID | Rhino ID of the object. |
String MaterialName | Name of the material you wish to apply to the object, same as the descriptions from the pull down menu of materials in the Specify Tab. |
Return Type | Description |
Boolean | True if the material was successfully applied to the object, False otherwise. |