PartInterfaces Rotate (Object)
All Frameworks Object Hierarchy This Framework Previous Next Indexes
Rotate (Object)
IUnknown
|
+---IDispatch
|
+---CATBaseUnknown
|
+---CATBaseDispatch
|
+---AnyObject
|
+---Shape
|
+---Rotate
Represents the shape rotate feature object.
This solid feature is created from
an underlying HybridShapeRotate aggregated by the Rotate.
Role : To access the data of the hybrid shape rotate feature object.
This data includes:
The element to be rotated
The rotation axis
The angle and its value
Use the CATIAShapeFactory to create ShapeFeature object.
See also:
ShapeFactory
Property Index
Angle
Returns the rotation angle.
AngleValue
Returns or sets the rotation angle value.
Axis
Returns or sets the rotation axis.
HybridShape
Gets the underlying HybridShapeRotate.
Properties
Returns the rotation angle.
o Property AngleValue ( ) As double
Returns or sets the rotation angle value.
Example :
This example retrieves in AngleValue
the angle value for the Rotate
hybrid shape feature.
Dim AngleValue As double
Set AngleValue = Rotate.AngleValue
Returns or sets the rotation axis.
To set the property, you can use one of the following
Boundary objects:
RectilinearTriDimFeatEdge ,
RectilinearBiDimFeatEdge or
RectilinearMonoDimFeatEdge .
Example :
This example retrieves in RotationAxis
the rotation axis for the Rotate
hybrid shape feature.
Dim RotationAxis As Reference
Set RotationAxis = Rotate.Axis
Gets the underlying HybridShapeRotate.
Example:
The following example explains how to retrieve the underlying HybridShape Rotate
Dim oHybridShape as AnyObject
Set oHybridShape=oRotate.HybridShape
oHybridShape.SectionCoupling = 2
Copyright © 2003, Dassault Systèmes. All rights reserved.