Clear a drawing

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
Jourde
Posts: 33
Joined: 10 Sep 2004, 10:33
Location: France
Contact:

Clear a drawing

Post by Jourde » 29 Mar 2013, 11:13

Hi,

for my software i need clear my drawing, but don't erase blocks, just entities. (to have a maximum of speed to refresh drawing after a calculation).


What is the better way do to that ?

Thx

Eric

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Clear a drawing

Post by support » 01 Apr 2013, 19:03

Hello Eric.
As a solution you can skip visualization of entities on a layout. A single entity can be hidden by setting its Visibility property to false. Or all entities on a layer can be hidden by setting Visible property of a layer to false. Visualization of layers can be also defined from the LayerForm.
Enable double buffering to hasten drawing refreshing a bit. TsgDrawingNavigator.DoubleBuffered state defines the feature using if TsgDrawingNavigator object used as graphic viewer.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply