Role: To access the data of the hybrid shape axis line feature object. This data includes:
- The element used to compute the axis
- The direction used in orientation of axis
- AxisLineType to change the axis type
Use the CATIAHybridShapeFactory to create a HybridShapeAxisLine object.
- See also:
Properties
- Property AxisLineType() As
-
Returns or sets the axis line type.
Legal values:- 1
- This option creates Axis along major axis if element is ellipse or oblong, Axis is aligned with direction specified if input is circle and coincides with revolution axis if element is revolution surface
- 2
- This option creates Axis along minor axis if element is ellipse or oblong, Axis is normal to direction specified if input is circle
- 3
- This option creates Axis normal to the element if it is circle, ellipse or oblong
oType the axis line type
for the AxisLine hybrid shape feature.
Dim oType Set oType = AxisLine.AxisLineType
This is useful only if the element selected is circle, arc or sphere. If the element is circle or arc Axis may be normal to reference direction or aligned with reference direction
- Example:
-
This example retrieves in
oDirthe direction for theAxisLinehybrid shape feature.Dim oDir As CATIAHybridShapeDirection Set oDir = AxisLine.Direction
- Example:
-
This example retrieves in
Elementthe element from which axis is computed for theAxisLinehybrid shape feature.Dim Element As Reference Set Element = AxisLine.Element