v4.0
Unassigns a material from a list of objects.
SIUnAssignMaterial( [Objects] ); |
Parameter | Type | Description |
---|---|---|
Objects | String |
Objects from which their material will be unassigned. Default Value: Current selection |
' The following example uses UnassignMaterial to ' unassign a material from the given object. CreatePrim "Cone", "MeshSurface" SICreateMaterial ,"TestMaterial","Sources.Materials.DefaultLib" SIAssignMaterial "Cone", "Sources.Materials.DefaultLib.TestMaterial" logmessage selection(0).material.fullname SIUnAssignMaterial "Cone" logmessage selection(0).material.fullname |