Creates a drawing of a piping assembly that includes fittings, pipes, dimensions, and a BOM in an isometric view.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub CreatePipeDrawingforPipeRoute( _
ByVal BOMTemplatePath As String, _
ByVal BOMTemplateName As String, _
ByVal insertBalloons As Boolean, _
ByVal insertBOM As Boolean, _
ByVal showSketch As Boolean, _
ByVal subAssembly As Boolean, _
ByVal userSheetWidth As Double, _
ByVal userSheetHeight As Double, _
ByVal sheetTemplatePath As String, _
ByVal sheetTemplateName As String, _
ByVal displayFormat As Boolean, _
ByVal dwgTemplates As Integer _
) |
Visual Basic (Usage) | |
---|
Dim instance As IRouteManager
Dim BOMTemplatePath As String
Dim BOMTemplateName As String
Dim insertBalloons As Boolean
Dim insertBOM As Boolean
Dim showSketch As Boolean
Dim subAssembly As Boolean
Dim userSheetWidth As Double
Dim userSheetHeight As Double
Dim sheetTemplatePath As String
Dim sheetTemplateName As String
Dim displayFormat As Boolean
Dim dwgTemplates As Integer
instance.CreatePipeDrawingforPipeRoute(BOMTemplatePath, BOMTemplateName, insertBalloons, insertBOM, showSketch, subAssembly, userSheetWidth, userSheetHeight, sheetTemplatePath, sheetTemplateName, displayFormat, dwgTemplates)
|
C# | |
---|
void CreatePipeDrawingforPipeRoute(
string BOMTemplatePath,
string BOMTemplateName,
bool insertBalloons,
bool insertBOM,
bool showSketch,
bool subAssembly,
double userSheetWidth,
double userSheetHeight,
string sheetTemplatePath,
string sheetTemplateName,
bool displayFormat,
int dwgTemplates
) |
C++/CLI | |
---|
void CreatePipeDrawingforPipeRoute(
& String^ BOMTemplatePath,
& String^ BOMTemplateName,
& bool insertBalloons,
& bool insertBOM,
& bool showSketch,
& bool subAssembly,
& double userSheetWidth,
& double userSheetHeight,
& String^ sheetTemplatePath,
& String^ sheetTemplateName,
& bool displayFormat,
& int dwgTemplates
) |
Parameters
- BOMTemplatePath
- Fully specified path of the BOM template; only valid if insertBOM = true
- BOMTemplateName
- Name of the BOM template; only valid if insertBOM = true
- insertBalloons
- True to include auto balloons in the drawing, false to not
- insertBOM
- True to include a BOM table, false to not
- showSketch
- True to include the route sketch in the drawing; false to not
- subAssembly
- True to include dimensions of sub-assemblies in the drawing, false to not
- userSheetWidth
- Width of custom sheet; specify 0.0 if standard sheet is specified in dwgTemplates
- userSheetHeight
- Height of custom sheet; specify 0.0 if standard sheet is specified in dwgTemplates
- sheetTemplatePath
- Fully specified path of drawing sheet templates
- sheetTemplateName
- Name of drawing sheet template
- displayFormat
- True to display the sheet format in the drawing, false to not
- dwgTemplates
- SolidWorks drawing sheet template as defined in swDwgTemplates_e
Example
See Also
Availability
SolidWorks 2011 FCS, Revision Number 19.0