Solid Edge FrameworkSupport Type Library
AddConnectorByType Method
Specifies the first object to which the connector will be connected.
Specifies the coordinates of the point on Object1 where the connector will be connected.
Specifies the coordinates of the point on Object1 where the connector will be connected.
Specifies the coordinates of the point on Object1 where the connector will be connected.
Specifies the index of a key point on Object1 where the connector will be connected.
Specifies the second object to which the connector will be connected.
Specifies the coordinates of the point on Object2 where the connector will be connected.
Specifies the coordinates of the point on Object2 where the connector will be connected.
Specifies the coordinates of the point on Object2 where the connector will be connected.
Specifies the index of a key point on Object2 where the connector will be connected.
Description
.This method creates a connector between two objects
Syntax
Visual Basic
Public Function AddConnectorByType( _
   ByVal Object1 As Object, _
   ByVal x1 As Double, _
   ByVal y1 As Double, _
   ByVal z1 As Double, _
   ByVal Object1_Keypoint_Index As Long, _
   ByVal Object2 As Object, _
   ByVal x2 As Double, _
   ByVal y2 As Double, _
   ByVal z2 As Double, _
   ByVal Object2_Keypoint_Index As Long, _
   ByVal ConnectorType As ConnectorTypeConstants _
) As Connector
Parameters
Object1
Specifies the first object to which the connector will be connected.
x1
Specifies the coordinates of the point on Object1 where the connector will be connected.
y1
Specifies the coordinates of the point on Object1 where the connector will be connected.
z1
Specifies the coordinates of the point on Object1 where the connector will be connected.
Object1_Keypoint_Index
Specifies the index of a key point on Object1 where the connector will be connected.
Object2
Specifies the second object to which the connector will be connected.
x2
Specifies the coordinates of the point on Object2 where the connector will be connected.
y2
Specifies the coordinates of the point on Object2 where the connector will be connected.
z2
Specifies the coordinates of the point on Object2 where the connector will be connected.
Object2_Keypoint_Index
Specifies the index of a key point on Object2 where the connector will be connected.
ConnectorType
ValueDescription
seCornerConnector
seJumpConnector
seLineConnector
seStepConnector
Remarks
The new connector will be created such that it connects to the point specified by (x1,y1,z1) and (x2,y2,z2). If you pass the key point index (Object1_Keypoint_Index and/or Object2_Keypoint_Index), then the corresponding X, Y, and Z parameters are ignored, and the connector is hooked to the specified keypoint.
See Also

Connectors Collection  | Connectors Members  | Solid Edge V18 - What's New