All Frameworks Object Hierarchy This Framework Indexes Previous Next
HybridShapeCircleCenterAxis (Object)
Represents the hybrid shape circle object defined using a point and axis/line.
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:
- HybridShapeFactory.AddNewCircleCenterAxis
Property Index
-
Axis
- Returns or sets the Axis of the circle.
-
DiameterMode
- Returns or sets the DiameterMode.
-
Diameter
- Returns the circle diameter.
-
Point
- Returns or sets the Point of the circle.
-
ProjectionMode
- Returns or sets the ProjectionMode.
-
Radius
- Returns the circle radius.
Properties
-
Returns or sets the Axis of the circle.
- Example:
-
This example retrieves in
CircleAxis
the Axis of plane in which circle is lying
from HybShpCircle
hybrid shape circle center axis feature
Dim CircleAxis As Reference
Set CircleAxis = HybShpCircle.Axis
o Property DiameterMode( | ) As boolean |
-
Returns or sets the DiameterMode.
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
HybShpCircle
hybrid shape circle center axis feature
HybShpCircle.DiameterMode = True
o Property Diameter( | ) As Length (Read Only) |
-
Returns the circle diameter.
It is expressed as a
Length literal. Succeeds only if DiameterMode is set to True.
Example:
This example retrieves in HybShpCircleDiameter
the diameter
of the HybShpCircle
hybrid shape circle center axis feature
Dim HybShpCircleDiameter As Length
HybShpCircleDiameter = HybShpCircle.Diameter
-
Returns or sets the Point of the circle.
- Example:
-
This example retrieves in
CirclePoint
the point used for
center computation from HybShpCircle
hybrid shape circle center axis feature
Dim CirclePoint As Reference
Set CirclePoint = HybShpCircle.Point
o Property ProjectionMode( | ) As boolean |
-
Returns or sets the ProjectionMode.
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
HybShpCircle
hybrid shape circle center axis feature
HybShpCircle.ProjectionMode = True
o Property Radius( | ) As Length (Read Only) |
-
Returns the circle radius.
It is expressed as a
Length literal. Succeeds only if DiameterMode is set to False.
Example:
This example retrieves in HybShpCircleRadius
the radius
of the HybShpCircle
hybrid shape circle center axis feature
Dim HybShpCircleRadius As Length
HybShpCircleRadius = HybShpCircle.Radius
Copyright © 2003, Dassault Systèmes. All rights reserved.