pycatia.hybrid_shape_interfaces.hybrid_shape_rotate¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.hybrid_shape_interfaces.hybrid_shape_rotate.HybridShapeRotate(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeRotateRepresents the hybrid shape rotate feature object.Role: To access the data of the hybrid shape rotate feature object. This dataincludes:The element to be rotatedThe rotation axisThe angle and its valueLICENSING INFORMATION: Creation of volume result requires GSOLicenseif GSO License is not granted , setting of Volume context has noteffectUse the CATIAHybridShapeFactory to create HybridShapeFeatureobject.See also:HybridShapeFactory- property angle: Angle¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Angle() As Angle (Read Only)Returns the rotation angle.
- Return type:
- property angle_value: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property AngleValue() As doubleReturns or sets the rotation angle value.Example: This example retrieves in AngleValue the angle value for theRotate hybrid shape feature.Dim AngleValue As doubleSet AngleValue = Rotate.AngleValue
- Return type:
float
- property axis: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Axis() As ReferenceReturns or sets the rotation axis.Sub-element(s) supported (see Boundary object): Edge.Example: This example retrieves in RotationAxis the rotation axis for theRotate hybrid shape feature.Dim RotationAxis As ReferenceSet RotationAxis = Rotate.Axis
- Return type:
- property elem_to_rotate: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ElemToRotate() As ReferenceReturns or sets the element to be rotated.Example: This example retrieves in Elem the element to be rotated for theRotate hybrid shape feature.Dim Elem As ReferenceSet Elem = Rotate.ElemToRotate
- Return type:
- property first_element: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstElement() As ReferenceReturns or sets the first element defining the rotation angle.
- Return type:
- property first_point: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstPoint() As ReferenceReturns or sets the first point defining the rotation.
- Return type:
- get_creation_mode() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetCreationMode() As longGets the creation mode.Legal values:0CATGSMTransfoModeUnset. Default behavior: creation mode by default forall features, modification mode for axis system1CATGSMTransfoModeCreation. Creation mode.2CATGSMTransfoModeModification. Modification mode.Example:This example retrieves in oCreation the creation mode for the hybShpRotatehybrid shape feature.oCreation = hybShpRotate.GetCreationMode
- Return type:
int
- property orientation_of_first_element: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property OrientationOfFirstElement() As booleanReturns or sets the orientation of the first element defining the rotationangle.This applies in case of line or plane element.
- Return type:
bool
- property orientation_of_second_element: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property OrientationOfSecondElement() As booleanReturns or sets the orientation of the second element defining the rotationangle.This applies in case of line or plane element.
- Return type:
bool
- property rotation_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property RotationType() As longReturns or sets the type of the rotation definition.0= Axis + angle1= Axis + two elements2= Three Points3= Unknown type
- Return type:
int
- property second_element: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SecondElement() As ReferenceReturns or sets the second element defining the rotation angle.
- Return type:
- property second_point: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SecondPoint() As ReferenceReturns or sets the second point defining the rotation.
- Return type:
- set_creation_mode(i_creation: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- 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 theresult is a modification feature.Example:This example sets that the mode ofthe hybShpRotate hybrid shape rotate to creationhybShpRotate.SetCreationMode True
- Parameters:
i_creation (bool) –
- Return type:
None
- property third_point: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ThirdPoint() As ReferenceReturns or sets the third point defining the rotation.
- Return type:
- property volume_result: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property VolumeResult() As booleanReturns or sets the volume result.Legal values: True if the result of Rotate is required as volume (option iseffective only in case of volumes,requires GSO License) and False if it isneeded as surface .Example:This example sets that the result ofthe hybShpRotate hybrid shape rotate is volume.hybShpRotate.VolumeResult = True
- Return type:
bool