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
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.