CADViewerControl not reflecting changes
Posted: 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
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