Role: To access the data of the hybrid shape circle center axis object.
This data includes:
- Point
- Axis/Line
- Value of radius/diameter
- Diameter Mode
- Projection Mode
Use the CATIAHybridShapeFactory to create a HybridShapeCircleCenterAxis object.
- See also:
Properties
- Property Axis() As
-
Returns or sets the Axis of the circle.
- Example:
-
This example retrieves in
CircleAxisthe Axis of plane in which circle is lying fromHybShpCirclehybrid shape circle center axis featureDim CircleAxis As Reference Set CircleAxis = HybShpCircle.Axis
- Property Diameter() As (Read Only)
- Returns the circle diameter. It is expressed as a literal. Succeeds only if DiameterMode is set to True.
HybShpCircleDiameter the diameter
of the HybShpCircle hybrid shape circle center axis feature
Dim HybShpCircleDiameter As Length HybShpCircleDiameter = HybShpCircle.Diameter
Legal values: True implies diameter False implies radius (default). When DiameterMode is changed, Radius/Diameter value, which is stored will not be modified.
- Example:
-
This example sets that the DiameterMode of the
HybShpCirclehybrid shape circle center axis featureHybShpCircle.DiameterMode = True
- Example:
-
This example retrieves in
CirclePointthe point used for center computation fromHybShpCirclehybrid shape circle center axis featureDim CirclePoint As Reference Set CirclePoint = HybShpCircle.Point
Legal values: True (default) implies point will be projected on to axis/line False implies that point will be center of the circle.
- Example:
-
This example sets that the ProjectionMode of the
HybShpCirclehybrid shape circle center axis featureHybShpCircle.ProjectionMode = True
HybShpCircleRadius the radius
of the HybShpCircle hybrid shape circle center axis feature
Dim HybShpCircleRadius As Length HybShpCircleRadius = HybShpCircle.Radius