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
LICENSING INFORMATION: Creation of volume result requires GSO License
if GSO License is not granted , settting of Volume context has not effect
Use the CATIAHybridShapeFactory to create HybridShapeFeature object.
- See also:
Properties
- Property Angle() As (Read Only)
- Returns the rotation angle.
- Property AngleValue() As
-
Returns or sets the rotation angle value.
- Example:
This example retrieves in
AngleValuethe angle value for theRotatehybrid shape feature.Dim AngleValue As double Set AngleValue = Rotate.AngleValue
- Example:
This example retrieves in
- Property Axis() As
-
Returns or sets the rotation axis.
Sub-element(s) supported (see object): .- Example:
This example retrieves in
RotationAxisthe rotation axis for theRotatehybrid shape feature.Dim RotationAxis As Reference Set RotationAxis = Rotate.Axis
- Example:
This example retrieves in
- Property ElemToRotate() As
-
Retuns or sets the element to be rotated.
- Example:
This example retrieves in
Elemthe element to be rotated for theRotatehybrid shape feature.Dim Elem As Reference Set Elem = Rotate.ElemToRotate
- Example:
This example retrieves in
- Property FirstElement() As
- Returns or sets the first element defining the rotation angle.
- Property FirstPoint() As
- Returns or sets the first point defining the rotation.
- Property OrientationOfFirstElement() As
-
Returns or sets the orientation of the first element defining the rotation angle.
This applies in case of line or plane element. - Property OrientationOfSecondElement() As
-
Returns or sets the orientation of the second element defining the rotation angle.
This applies in case of line or plane element. - Property RotationType() As
-
Returns or sets the type of the rotation definition.
- 0= Axis + angle
- 1= Axis + two elements
- 2= Three Points
- 3= Unknown type
- Property SecondElement() As
- Returns or sets the second element defining the rotation angle.
- Property SecondPoint() As
- Returns or sets the second point defining the rotation.
- Property ThirdPoint() As
- Returns or sets the third point defining the rotation.
- Property VolumeResult() As
-
Returns or sets the volume result.
Legal values: True if the result of Rotate is required as volume (option is effective only in case of volumes,requires GSO License) and False if it is needed as surface .- Example:
-
This example sets that the result of the
hybShpRotatehybrid shape rotate is volume.hybShpRotate.VolumeResult = True
Methods
- Func GetCreationMode() As
-
Gets the creation mode.
Legal values:- 0
- CATGSMTransfoModeUnset. Default behavior: creation mode by default for all features, modification mode for axis system
- 1
- CATGSMTransfoModeCreation. Creation mode.
- 2
- CATGSMTransfoModeModification. Modification mode.
oCreation the creation mode
for the hybShpRotate hybrid shape feature.
oCreation = hybShpRotate.GetCreationMode
Legal values: True if the result is a creation feature and False if the result is a modification feature.
- Example:
-
This example sets that the mode of the
hybShpRotatehybrid shape rotate to creationhybShpRotate.SetCreationMode True