Solid Edge FrameworkSupport Type Library
AddTangentBetweenCompoundCurves Method
Specifies the number of elements in Elements1.
Specifies the elements that make up the first compound curve.
Specifies the number of elements in Elements2.
Specifies the elements that make up the second compound curve.
If set, checking is performed to ensure that the relationship does not contradict previously placed relationships.
Description
This method adds a tangent relationship to the referenced Relations2d collection. The method creates a tangent relationship between two specified compound curves. Each set of curves must be endpoint-connected through keypoint constraints.
Syntax
Visual Basic
Public Function AddTangentBetweenCompoundCurves( _
   ByVal NumberElements1 As Long, _
   ByRef Elements1() As Object, _
   ByVal NumberElements2 As Long, _
   ByRef Elements2() As Object, _
   Optional ByVal guaranteed_ok As Variant _
) As Relation2d
Parameters
NumberElements1
Specifies the number of elements in Elements1.
Elements1
Specifies the elements that make up the first compound curve.
NumberElements2
Specifies the number of elements in Elements2.
Elements2
Specifies the elements that make up the second compound curve.
guaranteed_ok
If set, checking is performed to ensure that the relationship does not contradict previously placed relationships.
Remarks
Relationship Add methods have checks to ensure that a new relationship does not contradict previously placed relationships. For example, AddHorizontal will return an error if the line already has a vertical relationship. This check can be turned off to enhance performance. The optional “guaranteed_ok” argument, if set to 1, bypasses relationship checking. However, this feature could leave the system in an unsolvable state, so use it with extreme caution. It is best to use this feature only on a new element with no other relationships.
See Also

Relations2d Collection  | Relations2d Members

Send comments on this topic.