Currently having an issue with thawing a layer I have frozen via VB.net.
I have been using the layer manager to view if my changes have been picked up by autocad by seeing if the icon changes in the freeze column.
I am currently using : 'layerused.isfrozen = false ' to thaw it. When I set it to true, it freezes fine and the layer becomes hidden and the icon on the layer manager changes to the snowflake/ice icon.
When I change it to true, the icon changes back to the sun, but the layer stays invisible rather than reappearing.
Why does this happen?
After this whilst the layer is invisible but is thawed ... I click freeze (and the layer stays invisible, as it should if it is frozen) , then click thaw (and the layer appears as it should and the icon goes back to the sun icon).
Any info would be greatly appreciated.
Solved! Go to Solution.
Can you post your code?
The property that you mentioned must work fine.
It may be another thing to cause this problem from your code or trancastion.
Without your code our suggestion can not be usefull, only guesses...
tried REGEN then?
- alfred -
Try adding this.
Both your replies did the trick.
I used REGEN and that worked so I had to change ed.UpdateScreen() to ed.Regen()
Many thanks again
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!