v4.0
Assigns a material to a list of objects.
SIAssignMaterial( [Objects], Material );  | 
| Parameter | Type | Description | 
|---|---|---|
| Objects | String | Objects that will be assigned the new material. | 
| Material | String | Material to add | 
' The following example uses SIAssignMaterial to ' assign a material to the given object. CreatePrim "Cone", "MeshSurface" SICreateMaterial ,"TestMaterial","Sources.Materials.DefaultLib" SIAssignMaterial "Cone", "Sources.Materials.DefaultLib.TestMaterial" logmessage selection(0).material.fullname  |