wiki:sns:snsscript:materials
Materials Specification
boolSuccess = objSnSScript.SetMaterial( GUID, MaterialName)
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. |
wiki/sns/snsscript/materials.txt ยท Last modified: 2017/07/14 13:49 by claire