Page 1 of 1

CADViewerControl not reflecting changes

Posted: 03 Nov 2009, 15:22
by robhoney
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

Re: CADViewerControl not reflecting changes

Posted: 05 Nov 2009, 13:32
by support
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.