Creates a flattened route and optionally its drawing.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateFlattenRoute( _
ByVal flattenType As Integer, _
ByVal connectorOption As Integer, _
ByVal formboardWidth As Double, _
ByVal formboardHeight As Double, _
ByVal segmentOrientation As Integer, _
ByVal drawingOption As Boolean, _
ByVal sheetFormatTemplate As String, _
ByVal elecBOMTemplate As String, _
ByVal cutListTemplate As String, _
ByVal connectorTableTemplate As String, _
ByVal autoBalloons As Boolean _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As IRouteManager
Dim flattenType As Integer
Dim connectorOption As Integer
Dim formboardWidth As Double
Dim formboardHeight As Double
Dim segmentOrientation As Integer
Dim drawingOption As Boolean
Dim sheetFormatTemplate As String
Dim elecBOMTemplate As String
Dim cutListTemplate As String
Dim connectorTableTemplate As String
Dim autoBalloons As Boolean
Dim value As Integer
value = instance.CreateFlattenRoute(flattenType, connectorOption, formboardWidth, formboardHeight, segmentOrientation, drawingOption, sheetFormatTemplate, elecBOMTemplate, cutListTemplate, connectorTableTemplate, autoBalloons)
|
C# | |
---|
int CreateFlattenRoute(
int flattenType,
int connectorOption,
double formboardWidth,
double formboardHeight,
int segmentOrientation,
bool drawingOption,
string sheetFormatTemplate,
string elecBOMTemplate,
string cutListTemplate,
string connectorTableTemplate,
bool autoBalloons
) |
C++/CLI | |
---|
int CreateFlattenRoute(
& int flattenType,
& int connectorOption,
& double formboardWidth,
& double formboardHeight,
& int segmentOrientation,
& bool drawingOption,
& String^ sheetFormatTemplate,
& String^ elecBOMTemplate,
& String^ cutListTemplate,
& String^ connectorTableTemplate,
& 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 2011 FCS, Revision Number 19.0