Solid Edge FrameworkSupport Type Library
AddPointOnCompoundCurve Method
Specifies the first object to which the constraint is to be applied.
Specifies the key point index of Object1.
Specifies the number of elements in Elements.
Specifies the elements that make up the compound curve.
If set, checking is performed to ensure that the relationship does not contradict previously placed relationships.
Description
This method adds a point-on relationship to the referenced Relations2d collection. The method creates a point-on relationship between the key point index of the specified object to a point on the specified compound curve.
Syntax
Visual Basic
Public Function AddPointOnCompoundCurve( _
   ByVal Object1 As Object, _
   ByVal Index As Long, _
   ByVal NumberElements As Long, _
   ByRef Elements() As Object, _
   Optional ByVal guaranteed_ok As Variant _
) As Relation2d
Parameters
Object1
Specifies the first object to which the constraint is to be applied.
Index
Specifies the key point index of Object1.
NumberElements
Specifies the number of elements in Elements.
Elements
Specifies the elements that make up the 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