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.

ParameterDescription
String GUIDRhino ID of the object.
String MaterialNameName 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 TypeDescription
BooleanTrue if the material was successfully applied to the object, False otherwise.