ConvertShapeReferenceMode
 
 
 

ConvertShapeReferenceMode

Description

Converts the shape animation mode of one cluster to another mode.

Scripting Syntax

ConvertShapeReferenceMode( [InputObj], [RefMode] );

Parameters

Parameter Type Description
InputObj String Cluster

Default Value: Current selection

RefMode siShapeReferenceMode The reference mode to convert to

Default Value: siShapeLocalReferenceMode

Examples

VBScript Example

CreatePrim "Sphere", "NurbsSurface" 
SetSelFilter "Point" 
AddToSelection "sphere.pnt[(5,4),(6,4),(7,4),(0,5),(1,5),(2,5),(3,5),(4,5),(5,5),(6,5),(7,5),(0,6),(1,6),(2,6),(3,6)]" 
CreateCluster 
StoreShapeKey "sphere.surfmsh.cls.Point", "MyShape", siShapeObjectReferenceMode
ConvertShapeReferenceMode "sphere.surfmsh.cls.Point" , siShapeLocalReferenceMode

See Also

SaveShapeKey ApplyShapeKey SelectShapeKey StoreShapeKey