All Frameworks Object Hierarchy This Framework Previous Next Indexes
IUnknown
|
+---IDispatch
|
+---CATBaseUnknown
|
+---CATBaseDispatch
|
+---AnyObject
|
+---Constraint
| o Property AngleSector( | ) As CatConstraintAngleSector |
angleSector = angleCst.AngleSector angleCst.AngleSector = 2
| o Property Dimension( | ) As CATIADimension (Read Only) |
Set cstDimension = firstCst.Dimension
| o Property DistanceConfig( | ) As CatConstraintDistConfig |
distCstConfig = distCst.DistanceConfig
| o Property DistanceDirection( | ) As CatConstraintDistDirection |
distCstConfig = distCst.DistanceDirection
| o Property Mode( | ) As CatConstraintMode |
currentMode = distCst.Mode
| o Property Orientation( | ) As CatConstraintOrientation |
distCstOrient = distCst.Orientation
| o Property ReferenceAxis( | ) As CatConstraintRefAxis |
refAxis = axisPerpCst.ReferenceAxis
| o Property ReferenceType( | ) As CatConstraintRefType |
refCst2.ReferenceType = refCst1.ReferenceType
| o Property Side( | ) As CatConstraintSide |
distCstSide = distCst.Side
| o Property Status( | ) As CatConstraintStatus (Read Only) |
distCstSts = distCst.Status
| o Property Type( | ) As CatConstraintType (Read Only) |
cstType = firstCst.Type
| o Sub Activate( | ) |
tangencyCst.Activate
| o Sub Deactivate( | ) |
tangencyCst.Deactivate
| o Func GetConstraintElement( | long | iElementNumber) As CATIAReference |
Dim reference1 As Reference reference1=tangencyCst.GetConstraintElement( 1 )
| o Sub GetConstraintVisuLocation( | CATSafeArrayVariant | oAnchorPoint, |
| CATSafeArrayVariant | oAnchorVector) |
Dim anchorPoint(2) Dim anchorVector(2) tangencyCst.ConstraintVisuLocation anchorPoint,vectorPoint
| o Func IsInactive( | ) As boolean |
Set isInactive = tangencyCst.IsInactive
| o Sub SetConstraintElement( | long | iElementNumber, |
| CATIAReference | iNewElement) |
Dim reference1 As Reference tangencyCst.SetConstraintElement ( 2, reference1)
| o Sub SetConstraintVisuLocation( | double | iNewX, |
| double | iNewY, | |
| double | iNewZ) |
tangencyCst.SetConstraintVisuLocation 10,0,0
Copyright © 2003, Dassault Systèmes. All rights reserved.