CADViewerControl not reflecting changes
Moderators: SDS, support, admin
CADViewerControl not reflecting changes
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
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
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.
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
Chat support on Skype: cadsofttools.support