r1 Rotate (Object)
Indexes
Rotate (Object)
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
AngleValue
Returns or sets the rotation angle value.
Angle
Returns the rotation angle.
Axis
Returns or sets the rotation axis.
HybridShape
Gets the underlying HybridShapeRotate.
Properties
o Property AngleValue ( ) As
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
o Property Angle ( ) As (Read Only)
Returns the rotation angle.
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
o Property HybridShape ( ) As (Read Only)
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 © 2006, Dassault Systèmes. All rights reserved.