FreezeModeling

Introduced

4.0

Description

Freezes the modeling operators on the primitive construction history. Modeling operators consist of topology operators and deform operators that were applied while in Modeling construction mode.

Scripting Syntax

FreezeModeling( [InputObjs], [Time], [PropagationType] )

Parameters

Parameter

Type

Description

InputObjs

String

List of objects for which we want to freeze the associated primitive's modeling operators.

Default Value: Current selection or active objects.

Time

Number

Frame at which to freeze the primitives.

Default Value: Current time converted to nearest frame.

PropagationType

siBranchFlag

Freeze the branch or just the node.

Default Value: siUnspecified

Examples

VBScript Example

NewScene

' Create a primitive
CreatePrim "Grid", "NurbsSurface", "MyGrid"

' Switch to Modeling construction mode and apply a Twist deformation
SetValue "Context.constructionmode", siConstructionModeModeling
ApplyOp "Twist", "MyGrid", 3, siPersistentOperation

' Switch to Animation construction mode and apply a Taper deformation
SetValue "Context.constructionmode", siConstructionModeAnimation
ApplyOp "Taper", "MyGrid", 3, siPersistentOperation

' Freeze the modeling operators
FreezeModeling "MyGrid"
' Only the Twist operator is frozen


Autodesk Softimage v7.5