Faster viewer update

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

Moderators: SDS, support, admin

Post Reply
MikeD
Posts: 16
Joined: 27 Jan 2015, 17:45

Faster viewer update

Post by MikeD » 16 Feb 2015, 14:41

Hi,

is there a faster or another way to refresh the 3D view than using

Code: Select all

F3DN.LoadFromConverter(CADImage.Converter, CADImage);
?

I select an entity in the 3D viewer and want to change it's size. But when I use

Code: Select all

FDN.Invalidate;
FDN.Refresh;
FDN.Repaint;

// Same thing with F3DN
F3DN.Invalidate;
F3DN.Refresh;
F3DN.Repaint;
none of them works.

-Mike

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

Re: Faster viewer update

Post by support » 16 Feb 2015, 21:33

Hello Mike,

You have to reload a model from the TsgDXFConverter using Tsg3DDrawingNavigator.LoadFromConverter method after any changes are applied to some entity, because the entity data is stored in the converter. There is no other way to refresh a 3D view.


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

Post Reply