Creates a flattened route and optionally its drawing.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateFlattenRoute( _
ByVal flattenType As System.Integer, _
ByVal connectorOption As System.Integer, _
ByVal formboardWidth As System.Double, _
ByVal formboardHeight As System.Double, _
ByVal segmentOrientation As System.Integer, _
ByVal drawingOption As System.Boolean, _
ByVal sheetFormatTemplate As System.String, _
ByVal elecBOMTemplate As System.String, _
ByVal cutListTemplate As System.String, _
ByVal connectorTableTemplate As System.String, _
ByVal autoBalloons As System.Boolean _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IRouteManager
Dim flattenType As System.Integer
Dim connectorOption As System.Integer
Dim formboardWidth As System.Double
Dim formboardHeight As System.Double
Dim segmentOrientation As System.Integer
Dim drawingOption As System.Boolean
Dim sheetFormatTemplate As System.String
Dim elecBOMTemplate As System.String
Dim cutListTemplate As System.String
Dim connectorTableTemplate As System.String
Dim autoBalloons As System.Boolean
Dim value As System.Integer
value = instance.CreateFlattenRoute(flattenType, connectorOption, formboardWidth, formboardHeight, segmentOrientation, drawingOption, sheetFormatTemplate, elecBOMTemplate, cutListTemplate, connectorTableTemplate, autoBalloons) |
C# | |
---|
System.int CreateFlattenRoute(
System.int flattenType,
System.int connectorOption,
System.double formboardWidth,
System.double formboardHeight,
System.int segmentOrientation,
System.bool drawingOption,
System.string sheetFormatTemplate,
System.string elecBOMTemplate,
System.string cutListTemplate,
System.string connectorTableTemplate,
System.bool autoBalloons
) |
C++/CLI | |
---|
System.int CreateFlattenRoute(
& System.int flattenType,
& System.int connectorOption,
& System.double formboardWidth,
& System.double formboardHeight,
& System.int segmentOrientation,
& System.bool drawingOption,
& System.String^ sheetFormatTemplate,
& System.String^ elecBOMTemplate,
& System.String^ cutListTemplate,
& System.String^ connectorTableTemplate,
& System.bool autoBalloons
) |
Parameters
- flattenType
Type of routing drawing as defined in swRoutingFlattenTypes_e
- connectorOption
- Type of connector to display as defined in swRoutingFlattenConnectorOptions_e
- formboardWidth
Width of the formboard; only applies if flattenType = 2 (manufacture type)
- formboardHeight
- Height of the formboard; only applies if flattenType = 2 (manufacture type)
- segmentOrientation
Segment orientation as defined in swRoutingFlattenSegmentOrientation_e; only applies if flattenType = 2 (manufacture type)
- drawingOption
- True to create a drawing of the flattened route, false to not
- sheetFormatTemplate
- Full pathname of drawing sheet template to use to create the drawing; only applies if drawingOption = true
- elecBOMTemplate
Full pathname of electrical BOM table template to use to create the drawing; only applies if drawingOption = true
- cutListTemplate
Full pathname of electrical cut list table template to use to create the drawing; only applies if drawingOption = true
- connectorTableTemplate
Full pathname of electrical connector table template to use to create the drawing; only applies if drawingOption = true
- autoBalloons
- True to insert balloons, false to not; only applies if drawingOption = true
Return Value
Error code as defined in
swFlattenRouteErrorType_e
Example
Remarks
See Also
Availability
SOLIDWORKS Routing 2011 FCS