All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

HybridShapeRotate (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---HybridShape
            |
            +---HybridShapeRotate
 


Represents the hybrid shape rotate feature object.
Role: To access the data of the hybrid shape rotate feature object. This data includes:

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:
HybridShapeFactory

Property Index

Angle
Returns the rotation angle.
AngleValue
Returns or sets the rotation angle value.
Axis
Returns or sets the rotation axis.
ElemToRotate
Retuns or sets the element to be rotated.
FirstElement
Returns or sets the first element defining the rotation angle.
FirstPoint
Returns or sets the first point defining the rotation.
OrientationOfFirstElement
Returns or sets the orientation of the first element defining the rotation angle.
OrientationOfSecondElement
Returns or sets the orientation of the second element defining the rotation angle.
RotationType
Returns or sets the type of the rotation definition.
SecondElement
Returns or sets the second element defining the rotation angle.
SecondPoint
Returns or sets the second point defining the rotation.
ThirdPoint
Returns or sets the third point defining the rotation.
VolumeResult
Returns or sets the volume result.

Method Index

GetCreationMode
Gets the creation mode.
SetCreationMode
Sets the creation mode(creation or modification).

Properties


o Property Angle() As CATIAAngle (Read Only)
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
o Property Axis() As CATIAReference
Returns or sets the rotation axis.
Sub-element(s) supported (see
Boundary object): Edge.
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 ElemToRotate() As CATIAReference
Retuns or sets the element to be rotated.
Example: This example retrieves in Elem the element to be rotated for the Rotate hybrid shape feature.
 Dim Elem As Reference
 Set Elem = Rotate.ElemToRotate
o Property FirstElement() As CATIAReference
Returns or sets the first element defining the rotation angle.
o Property FirstPoint() As CATIAReference
Returns or sets the first point defining the rotation.
o Property OrientationOfFirstElement() As boolean
Returns or sets the orientation of the first element defining the rotation angle.
This applies in case of line or plane element.
o Property OrientationOfSecondElement() As boolean
Returns or sets the orientation of the second element defining the rotation angle.
This applies in case of line or plane element.
o Property RotationType() As long
Returns or sets the type of the rotation definition.
  • 0= Axis + angle
  • 1= Axis + two elements
  • 2= Three Points
  • 3= Unknown type
o Property SecondElement() As CATIAReference
Returns or sets the second element defining the rotation angle.
o Property SecondPoint() As CATIAReference
Returns or sets the second point defining the rotation.
o Property ThirdPoint() As CATIAReference
Returns or sets the third point defining the rotation.
o Property VolumeResult() As boolean
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 hybShpRotate hybrid shape rotate is volume.
 hybShpRotate.VolumeResult = True
 

Methods


o Func GetCreationMode() As long
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.
Example:
This example retrieves in oCreation the creation mode for the hybShpRotate hybrid shape feature.
 oCreation = hybShpRotate.GetCreationMode
 
o Sub SetCreationMode(boolean iCreation)
Sets the creation mode(creation or modification).
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 hybShpRotate hybrid shape rotate to creation
 hybShpRotate.SetCreationMode True
 

Copyright © 2003, Dassault Systèmes. All rights reserved.