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:

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 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
 
Property Diameter() As (Read Only)
Returns the circle diameter. It is expressed as a 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
 
Property DiameterMode() As
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
  
Property Point() As
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
 
Property ProjectionMode() As
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
  
Property Radius() As (Read Only)
Returns the circle radius. It is expressed as a 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