Role: To access the data of the hybrid shape circle tangent object.
This data includes:
- The center element
- The tangent curve
- The support
- The value of the raduius
- and also the type of solution index
Use the CATIAHybridShapeFactory to create a HybridShapeCircleCenterTangent object.
- See also:
Properties
- Property BeginOfCircle() As
-
Return or Set the number of the beginning curve of the circle.
This parameter is used to stabilize the resulting circle
- Example:
-
This example set the beginning wire index of the
hybShpcirclehybrid shape circlehybShpcircle.BeginOfCircle = 1
- Property CenterElem() As
-
Returns or sets the Center Element of the circle.
- Example:
-
This example retrieves in
HybShpCircleCenterCurvethe first curve to which theHybShpCirclehybrid shape circle is Center curve.Dim HybShpCircleFirstCurve As Reference HybShpCircleFirstCurve = HybShpCircle.CenterElem
- 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 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 featureHybShpCircle.DiameterMode = True
- Example:
-
This example set the discrimination index of the
hybShpcirclehybrid shape circlehybShpcircle.DiscriminationIndex = 2
Role: The orientation of the first curve determines the side of this curve taken into account to find the point where the circle is tangent to the curve.
Legal values:
- Example:
-
This example sets the orientation of the first curve to which
the
HybShpCirclehybrid shape circle is tangent to reverse.Set HybShpCircle.Orientation1 -1
Role: The orientation of the second curve determines the side of this curve taken into account to find the point where the circle is tangent to the curve.
Legal values:
- Example:
-
This example retrieves in
HybShpCircleOrientationthe orientation of the second curve to which theHybShpCirclehybrid shape circle is tangent.HybShpCircleOrientation = HybShpCircle.Orientation2
HybShpCircleRadius the radius
of the HybShpCircle hybrid shape circle.
Dim HybShpCircleRadius As Length HybShpCircleRadius = HybShpCircle.Radius
Sub-element(s) supported (see object): .
- Example:
-
This example retrieves in
HybShpCircleSupportSurfthe support surface of theHybShpCirclehybrid shape circle.Dim HybShpCircleSupportSurf As Reference Set HybShpCircleSupportSurf = HybShpCircle.Support
- Example:
-
This example sets the tangent curve to which
the
HybShpCirclehybrid shape circle will be tangent to TgtCrv.Set HybShpCircle.Tangent Curve TgtCrv
- Example:
-
This example retrieves the tangent orientation of first reference element of the
hybShpcirclehybrid shape circle infirstOrient.Dim firstOrient As long firstOrient = hybShpcircle.FirstTangentOrientation
- Example:
-
This example retrieves the tangent orientation of second reference element of the
hybShpcirclehybrid shape circle insecondOrient.Dim secondOrient As long secondOrient = hybShpcircle.SecondTangentOrientation