Hide Table of Contents
CreatePipeDrawingforPipeRoute Method (IRouteManager)

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


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   CreatePipeDrawingforPipeRoute Method (IRouteManager)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2011 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.