Adds a connection point based on the selected entities.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertConnectionPoint( _
ByVal Type As System.Integer, _
ByVal SubType As System.Integer, _
ByVal ReverseDirection As System.Boolean, _
ByVal Diameter As System.Double, _
ByVal StubLength As System.Double, _
ByVal MinimumStraight As System.Double, _
ByVal EndLengthAdjustment As System.Double, _
ByVal ConductorSplitLength As System.Double, _
ByVal SchematicPinID As System.String, _
ByVal CableWidth As System.Double, _
ByVal CableThickness As System.Double, _
ByVal SwitchPin1Position As System.Boolean, _
ByVal SpecificationFieldName As System.String, _
ByVal SpecificationValue As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim Type As System.Integer
Dim SubType As System.Integer
Dim ReverseDirection As System.Boolean
Dim Diameter As System.Double
Dim StubLength As System.Double
Dim MinimumStraight As System.Double
Dim EndLengthAdjustment As System.Double
Dim ConductorSplitLength As System.Double
Dim SchematicPinID As System.String
Dim CableWidth As System.Double
Dim CableThickness As System.Double
Dim SwitchPin1Position As System.Boolean
Dim SpecificationFieldName As System.String
Dim SpecificationValue As System.String
Dim value As System.Boolean
value = instance.InsertConnectionPoint(Type, SubType, ReverseDirection, Diameter, StubLength, MinimumStraight, EndLengthAdjustment, ConductorSplitLength, SchematicPinID, CableWidth, CableThickness, SwitchPin1Position, SpecificationFieldName, SpecificationValue) |
C# | |
---|
System.bool InsertConnectionPoint(
System.int Type,
System.int SubType,
System.bool ReverseDirection,
System.double Diameter,
System.double StubLength,
System.double MinimumStraight,
System.double EndLengthAdjustment,
System.double ConductorSplitLength,
System.string SchematicPinID,
System.double CableWidth,
System.double CableThickness,
System.bool SwitchPin1Position,
System.string SpecificationFieldName,
System.string SpecificationValue
) |
C++/CLI | |
---|
System.bool InsertConnectionPoint(
& System.int Type,
& System.int SubType,
& System.bool ReverseDirection,
& System.double Diameter,
& System.double StubLength,
& System.double MinimumStraight,
& System.double EndLengthAdjustment,
& System.double ConductorSplitLength,
& System.String^ SchematicPinID,
& System.double CableWidth,
& System.double CableThickness,
& System.bool SwitchPin1Position,
& System.String^ SpecificationFieldName,
& System.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 is inserted, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2009 SP03, Revision Number 17.03