Lisp file to thaw all layers frozen in the viewport,
I’m wondering if there is a lisp file that can thaw all layers frozen in the viewport
Thank you
Best
Jamal
Solved! Go to Solution.
Solved by pbejse. Go to Solution.
Solved by Kent1Cooper. Go to Solution.
@JamaL9722060 wrote:....
I’m wondering if there is a lisp file that can thaw all layers frozen in the viewport
....
This will do that in all Viewports in all Layouts in the drawing, and return you to the Layout you were in when you started:
(setq clayout (getvar 'ctab))
(foreach layout (layoutlist)
(setvar 'ctab layout)
(command "_.vplayer" "_thaw" "*" "_all" "")
)
(setvar 'ctab clayout)
The (command) line only above will do it in all Viewports in the current Layout only. This will do it in the current Viewport only, if you're in one:
(command "_.vplayer" "_thaw" "*" "" "")
I don’t know how to thank you for all the massive efforts
The code that thaws all the layers in for the current viewport is working perfectly
The code that thaws all layers in ALL viewports sounds not to work!
What might be the issue?
Best
Jamal
Works fine here in 2009.
If anything the file you attached is missing a closing parenthesis at the end
Thank you pbejse for the prompt help. This is really very useful.
I do remember your distinct development regarding the “safe move” with your fantastic code. Now one can move objects safely.
All the best
Jamal