Hide Table of Contents
DisplayWhenAdded Property (ISketchManager)

Gets or sets whether new sketch entities are immediately displayed when created.

.NET Syntax

Visual Basic (Declaration) 
Property DisplayWhenAdded As System.Boolean
Visual Basic (Usage) 
Dim instance As ISketchManager
Dim value As System.Boolean
 
instance.DisplayWhenAdded = value
 
value = instance.DisplayWhenAdded
C# 
System.bool DisplayWhenAdded {get; set;}
C++/CLI 
property System.bool DisplayWhenAdded {
   System.bool get();
   void set ( &   System.bool value);
}

Property Value

True to display new sketch entities when added, false to not

Remarks

The sketch entities appear on the screen after performing IModelView::GraphicsRedraw or IModelView::IGraphicsRedraw or IModelDoc2::EditRebuild3 is performed. Also, ISketchManager::AddToDB must be true to use this method's settings.

 

This display setting remains even after your program run has ended. Therefore, it is recommended that you reset this parameter to TRUE at the end of your program. For example, if you have ended your program and the display is set to FALSE, then the user would have difficulty performing selections and newly created entities would not be seen until a redraw or a rebuild.

 

NOTES:

  • IModelView::GraphicsRedraw and IModelView::IGraphicsRedraw are much faster than IModelDoc2::EditRebuild3.

  • ISketchManager::AddToDB and ISketchManager::DisplayWhenAdded also increase performance during sketch entity creation.

See Also

Availability

SOLIDWORKS 2008 FCS, Revision Number 16.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:   DisplayWhenAdded Property (ISketchManager)
*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) 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.