AlignedAxisConstraint
 
 
 

AlignedAxisConstraint

Object Hierarchy

Inheritance

SIObject

ProjectItem

Property

Constraint

AlignedAxisConstraint

Description

The AlignedAxisConstraint object represents a AxisAligned constraint e.g. Direction, Position constraint.

Methods

AddCustomOp AddICEAttribute AddScriptedOp AddScriptedOpFromFile
AnimatedParameters2 BelongsTo operator EvaluateAt GetICEAttributeFromName
IsA IsAnimated2 IsClassOf operator IsEqualTo operator
IsKindOf IsLocked operator IsSelected operator LockOwners
RemoveICEAttribute SetAsSelected operator SetCapabilityFlag operator SetLock
TaggedParameters UnSetLock    
       

Properties

Application Branch operator BranchFlag operator Capabilities operator
Categories Constrained Constraining EvaluationID
Families operator FullName operator Help HierarchicalEvaluationID
ICEAttributes LockLevel operator LockMasters operator LockType operator
Model Name operator NestedObjects ObjectID
Origin OriginPath Owners PPGLayout operator
Parameters operator Parent Parent3DObject Selected operator
Singleton operator Type operator UpVectorReference UpVectorReference

Examples

VBScript Example

'The following code illustrates how to create an axis aligned constraint 
        ' and set its upvector reference. 
set oRoot = Application.ActiveProject.ActiveScene.Root
set oNull = oRoot.AddNull
'    set oNull.Kinematics.Local.Translate -6.546, 4.815, -0.482
set oNull2 = oRoot.AddNull
'    set oNull2.Kinematics.Local.Translate 6.624, 5.907, -0.591
set oGrid = oRoot.AddGeometry("Grid","MeshSurface")
set oDirectionCns = oGrid.Kinematics.AddConstraint("Direction", oNull )
set oDirectionCns.UpVectorReference = oNull2

See Also

Kinematics Kinematics.AddConstraint