pycatia.hybrid_shape_interfaces.hybrid_shape_axis_line¶
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_axis_line.HybridShapeAxisLine(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeAxisLineRepresents the hybrid shape axis line feature object.Role: To access the data of the hybrid shape axis line feature object. Thisdata includes:The element used to compute the axisThe direction used in orientation of axisAxisLineType to change the axis typeUse the CATIAHybridShapeFactory to create a HybridShapeAxisLineobject.See also:HybridShapeFactory- property axis_line_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property AxisLineType() As longReturns or sets the axis line type.Legal values:1This option creates Axis along major axis if element is ellipse oroblong, Axis is aligned with direction specified if input is circle andcoincides with revolution axis if element is revolutionsurface2This option creates Axis along minor axis if element is ellipse oroblong, Axis is normal to direction specified if input iscircle3This option creates Axis normal to the element if it is circle, ellipseor oblongExample:This example retrieves in oType the axis line type for the AxisLine hybridshape feature.Dim oTypeSet oType = AxisLine.AxisLineType
- Return type:
int
- property direction: HybridShapeDirection¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Direction() As HybridShapeDirectionGets the reference direction used in computation of axis.This is useful only if the element selected is circle, arc or sphere. Ifthe element is circle or arc Axis may be normal to reference direction oraligned with reference directionExample:This example retrieves in oDir the direction for the AxisLine hybridshape feature.Dim oDir As CATIAHybridShapeDirectionSet oDir = AxisLine.Direction
- Return type:
- property element: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Element() As ReferenceReturns or sets the element from which axis is computed.Example:This example retrieves in Element the element from which axis iscomputed for the AxisLine hybrid shape feature.Dim Element As ReferenceSet Element = AxisLine.Element
- Return type: