CADViewerControl not reflecting changes

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
robhoney
Posts: 4
Joined: 27 Oct 2009, 13:50

CADViewerControl not reflecting changes

Post by robhoney » 03 Nov 2009, 15:22

Hello,

I am currently using the CADImport.NET trial (extended version). I am working with the CADViewerControl in which I load a .DXF file.

This works fine but there are some items I want to hide, so I hide/freeze the appropriate layers in code. The layers are no longer shown, but operations like "Fit To Extents" fit to the previous extents not the new ones. Looking at the layer list form the items I have hidden/frozen are not shown as hidden or frozen.

I also create a layer dynamically, add some lines and add this to the CADImage of the CADViewerControl. Even if I add it to the layer list form, this layer does not come up automatically (it is not frozen or hidden) and only appears when some combination of operations takes place that I cannot understand (for instance the rotate buttons sometimes seem to sort the problem out).

Any ideas?

Regards

Rob H

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

Re: CADViewerControl not reflecting changes

Post by support » 05 Nov 2009, 13:32

Hello.
Please specify which operations result in hidden/frozen layers not shown as hidden/frozen or paste the code sample.
Any changes on image will appear after cadPictBox.Invalidate();

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

Post Reply