Adds a connection point based on the selected entities (see
Remarks).
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertConnectionPoint( _
ByVal Type As Integer, _
ByVal SubType As Integer, _
ByVal ReverseDirection As Boolean, _
ByVal Diameter As Double, _
ByVal StubLength As Double, _
ByVal MinimumStraight As Double, _
ByVal EndLengthAdjustment As Double, _
ByVal ConductorSplitLength As Double, _
ByVal SchematicPinID As String, _
ByVal CableWidth As Double, _
ByVal CableThickness As Double, _
ByVal SwitchPin1Position As Boolean, _
ByVal SpecificationFieldName As String, _
ByVal SpecificationValue As String _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim Type As Integer
Dim SubType As Integer
Dim ReverseDirection As Boolean
Dim Diameter As Double
Dim StubLength As Double
Dim MinimumStraight As Double
Dim EndLengthAdjustment As Double
Dim ConductorSplitLength As Double
Dim SchematicPinID As String
Dim CableWidth As Double
Dim CableThickness As Double
Dim SwitchPin1Position As Boolean
Dim SpecificationFieldName As String
Dim SpecificationValue As String
Dim value As Boolean
value = instance.InsertConnectionPoint(Type, SubType, ReverseDirection, Diameter, StubLength, MinimumStraight, EndLengthAdjustment, ConductorSplitLength, SchematicPinID, CableWidth, CableThickness, SwitchPin1Position, SpecificationFieldName, SpecificationValue)
|
C# | |
---|
bool InsertConnectionPoint(
int Type,
int SubType,
bool ReverseDirection,
double Diameter,
double StubLength,
double MinimumStraight,
double EndLengthAdjustment,
double ConductorSplitLength,
string SchematicPinID,
double CableWidth,
double CableThickness,
bool SwitchPin1Position,
string SpecificationFieldName,
string SpecificationValue
) |
C++/CLI | |
---|
bool InsertConnectionPoint(
& int Type,
& int SubType,
& bool ReverseDirection,
& double Diameter,
& double StubLength,
& double MinimumStraight,
& double EndLengthAdjustment,
& double ConductorSplitLength,
& String^ SchematicPinID,
& double CableWidth,
& double CableThickness,
& bool SwitchPin1Position,
& String^ SpecificationFieldName,
& String^ SpecificationValue
) |
Parameters
- Type
- Route type as defined in swConnectionPointType_e
- SubType
- Electrical route sub-type as defined in swElectricalConnectionPointType_e
- ReverseDirection
- True to flip the direction in which the route exits the fitting, false to not
- Diameter
- Nominal diameter (for pipe, tube, and electrical conduit fittings only)
- StubLength
Default stub length to extend from the connector or fitting when inserted into routes
NOTE: For ribbon cables, leave stub length at 0 or set it to a value greater than half the width of the cable to assure that folds made near the connector can be created properly.
- MinimumStraight
- Minimum straight length (for tubes only)
- EndLengthAdjustment
- End length adjustment (for tubes only)
- ConductorSplitLength
- Conductor split length (for electrical only)
- SchematicPinID
- 2D schematic pin ID (for ribbon cables only)
- CableWidth
- Width (for ribbon cables only)
- CableThickness
- Cable thickness (for ribbon cables only)
- SwitchPin1Position
- Switch Pin1 position (for ribbon cables only)
- SpecificationFieldName
- Specification field name (for pipes and tubes only)
- SpecificationValue
- Specification value (for pipes and tubes only)
Return Value
True if the connection point is inserted, false if not
Example
Remarks
See Also
Availability
SolidWorks 2009 SP03, Revision Number 17.03