Role: To access the data of the hybrid shape combined curve object. This data includes:
- The three curves to which the circle is tangent
- The surface that supports the circle
- The orientation of each curve.
Use the object to create a HybridShapeCombine object.
Properties
This example sets
firstDir as the first direction to create the combined curve
hybCombCurve.
hybCombCurve.Direction1 = firstDir
This example retrieves in
secondDir the second direction used
to create the combined curve hybCombCurve.
Dim secondDir As CATIAHybridShapeDirection
Set secondDir = hybCombCurve.Direction2
Sub-element(s) supported (see
object):
or
.
This example sets
firstCurve as the first curve to create the combined curve
hybCombCurve.
hybCombCurve.Elem1 = firstCurve
Sub-element(s) supported (see
object):
or
.
This example retrieves in
secondCurve the second curve used to create
the combined curve hybCombCurve.
Dim secondCurve As CATIAReference
Set secondCurve = hybCombCurve.Elem2
Role: The nearest solution indicates whether the created combined curve
is the one closest to the first curve if there are several possible combined curves,
or if all these possible combined curves are created..
Legal values: 0 for the nearest solution and 1 for all possible solutions.
This example sets the nearest solution mode to create the combined curve
hybCombCurve closest to the first curve.
hybCombCurve.NearestSolution = 1
Role: The curves that make up the combined curve are each extruded along
a direction. This direction can be the normal to the curve plane, or can be set to
a given direction. This is valid for the two curves altogether.
Legal values: 0 for the normal to the curve planes (default mode),
1 for given directions
This example sets that the combined curve
hybCombCurve should be created
by extruding the two curves along the normals to their planes.
hybCombCurve.SolutionTypeCombine = 0