Hide Table of Contents
SetupSheet5 Method (IDrawingDoc)

Obsolete. Superseded by IDrawingDoc::SetupSheet6.

.NET Syntax

Visual Basic (Declaration) 
Function SetupSheet5( _
   ByVal Name As System.String, _
   ByVal PaperSize As System.Integer, _
   ByVal TemplateIn As System.Integer, _
   ByVal Scale1 As System.Double, _
   ByVal Scale2 As System.Double, _
   ByVal FirstAngle As System.Boolean, _
   ByVal TemplateName As System.String, _
   ByVal Width As System.Double, _
   ByVal Height As System.Double, _
   ByVal PropertyViewName As System.String, _
   ByVal RemoveModifiedNotes As System.Boolean _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IDrawingDoc
Dim Name As System.String
Dim PaperSize As System.Integer
Dim TemplateIn As System.Integer
Dim Scale1 As System.Double
Dim Scale2 As System.Double
Dim FirstAngle As System.Boolean
Dim TemplateName As System.String
Dim Width As System.Double
Dim Height As System.Double
Dim PropertyViewName As System.String
Dim RemoveModifiedNotes As System.Boolean
Dim value As System.Boolean
 
value = instance.SetupSheet5(Name, PaperSize, TemplateIn, Scale1, Scale2, FirstAngle, TemplateName, Width, Height, PropertyViewName, RemoveModifiedNotes)
C# 
System.bool SetupSheet5( 
   System.string Name,
   System.int PaperSize,
   System.int TemplateIn,
   System.double Scale1,
   System.double Scale2,
   System.bool FirstAngle,
   System.string TemplateName,
   System.double Width,
   System.double Height,
   System.string PropertyViewName,
   System.bool RemoveModifiedNotes
)
C++/CLI 
System.bool SetupSheet5( 
&   System.String^ Name,
&   System.int PaperSize,
&   System.int TemplateIn,
&   System.double Scale1,
&   System.double Scale2,
&   System.bool FirstAngle,
&   System.String^ TemplateName,
&   System.double Width,
&   System.double Height,
&   System.String^ PropertyViewName,
&   System.bool RemoveModifiedNotes
) 

Parameters

Name
Name for the sheet
PaperSize
Size of paper if using swDwgTemplateNone as defined in swDwgPaperSizes_e
TemplateIn
Template as defined in swDwgTemplates_e
Scale1
Scale numerator
Scale2
Scale denominator
FirstAngle
True for first angle projection, false otherwise
TemplateName
Name of custom template with full directory path if using swDwgTemplateCustom
Width
Paper width; valid only if TemplateIn is set to swDwgTemplates_e.swDwgTemplateNone or PaperSize is set to swDwgPaperSizes_e.swDwgPapersUserDefined
Height
Paper height if TemplateIn is set to swDwgTemplateNone or swDwgPapersUserDefined
PropertyViewName
Name of view containing the model from which to get custom property values
RemoveModifiedNotes
True to delete modified notes, false to not

Remarks

Call IModelDoc2::ForceRebuild3 after calling IDrawingDoc::SetupSheet5 to update any changes to first angle/third angle projections in the drawing views.

If you specify a different filename for TemplateName than what is currently being used by SOLIDWORKS, then SOLIDWORKS updates the sheet format.

 

See Also

Availability

SOLIDWORKS 2009 FCS, Revision Number 17.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:   SetupSheet5 Method (IDrawingDoc)
*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) 2016 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.