User Tools

Site Tools


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.

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.
wiki/sns/snsscript/materials.txt ยท Last modified: 2017/07/14 13:49 by claire