Hide Table of Contents
SetDisplayMode3 Method (IView)

Sets the display mode of the view.

.NET Syntax

Visual Basic (Declaration) 
Function SetDisplayMode3( _
   ByVal UseParent As System.Boolean, _
   ByVal Mode As System.Integer, _
   ByVal Facetted As System.Boolean, _
   ByVal Edges As System.Boolean _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IView
Dim UseParent As System.Boolean
Dim Mode As System.Integer
Dim Facetted As System.Boolean
Dim Edges As System.Boolean
Dim value As System.Boolean
value = instance.SetDisplayMode3(UseParent, Mode, Facetted, Edges)
System.bool SetDisplayMode3( 
   System.bool UseParent,
   System.int Mode,
   System.bool Facetted,
   System.bool Edges
System.bool SetDisplayMode3( 
&   System.bool UseParent,
&   System.int Mode,
&   System.bool Facetted,
&   System.bool Edges



True to use the parent's setting, false to use its own local settings

Display mode of the drawing view as defined in swDisplayMode_e
True if the geometry is displayed in draft quality, false if it is displayed in precise quality (see Remarks)
True if edges are displayed when this view is in shaded mode, false if not

Return Value

True if the setting of the display mode was successful, false if not



The contents of a drawing view can be displayed in different modes, including Wireframe, HLR (Hidden Lines Removed), and HLV (Hidden Lines Visible), and Shaded. This is what the Mode argument indicates, and these values are contained in swDisplayMode_e. To display a drawing view shaded with edges, set swDrawingsDefaultDisplayTypeHLREdgesWhenShaded to True and set Mode to swSHADED.

This enumeration also contains three other values, swFACETED_WIREFRAME, swFACETED_HIDDEN_GREY, and swFACETEDHIDDEN, which indicate faceted display of geometry. However, in this method, the Facetted argument is how faceted display is indicated, and if any of those three values are used in the Mode argument, they are treated the same as swWIREFRAME, sw_HIDDEN_GREY, and sw_HIDDEN, respectively.

To determine if...

Then use...

Edges are displayed when this view is in shaded mode


This view is displayed with faceted or precise geometry


The display mode of this drawing view


Although you cannot switch a drawing view from precise quality to draft quality, the geometry can still be displayed in draft quality if that is how your user preferences indicate new drawings views should be created. Once the drawing view is precise quality, whether you created it that way or changed it to that after its creation, you cannot change it to draft quality.

NOTE:  Displaying geometry precisely can increase display quality, but can decrease performance. Setting the Facetted argument to True can increase performance, but can decrease display quality.


See Also


SOLIDWORKS 2004 FCS, Revision Number 12.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

Subject:   Feedback on Help Topics
Page:   SetDisplayMode3 Method (IView)
*   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:


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

Web Help Content Version: API Help (English only) 2017 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.