SIUnAssignMaterial
 
 
 

SIUnAssignMaterial

Introduced

v4.0

Description

Unassigns a material from a list of objects.

Scripting Syntax

SIUnAssignMaterial( [Objects] );

Parameters

Parameter Type Description
Objects String Objects from which their material will be unassigned.

Default Value: Current selection

Examples

VBScript Example

' 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

See Also

AddProp SIAddProp SIAssignMaterial