There has got to be a way to do this. Anybody got any ideas?
http://www.jtbworld.com/lisp/axCreateVP.htm -- Best Regards, Jimmy Bergmark CAD and Database Developer Manager at www.pharmadule-emtunga.com Take a look at JTB FlexReport (FLEXlm report tool) - www.jtbworld.com/jtbflexreport SmartPurger (Purges automatically) - www.jtbworld.com/?/smartpurger.htm or download some freeware at www.jtbworld.com More on AutoCAD 2004; www.jtbworld.com/autocad2004.htm www.jtbworld.com/autocad2004tips.htm
Given the subject matter of your last 3 posts you should search google for similar topics by Bobby Jones. Seems I recall he has already traveled this path, and IIRC, he canned that whole mess and went with (command ".vplayer") Bobby?
If you are wanting to thaw layers in a viewport, then I suggest the VPLAYER route or an ARX solution. You can relatively easily freeze layers in a viewport by manipulating the xdata, but I'd probably still suggest VPLAYER or ARX. If you are wanting to store and retrieve your own xdata then these functions will get you going in the right direction. http://code.acadx.com/visuallisp/042.htm http://code.acadx.com/visuallisp/041.htm
Except that you can't execute the vplayer command within an autolisp program without using a convoluted mess of (VLA-SENDcommand doc* "vplayer "). There has got to be a cleaner way of acomplishing this.
Except the help files explictly state that you can't entmod a viewport. How is this "convoluted"? (command "VPLAYER" "FREEZE" LAYER "" "") And if you are trying to copy the status from one vp to another, collect the layers into a list and foreach or mapcar through the list....... Jeff program without using a convoluted mess of (VLA-SENDcommand doc* "vplayer ").
<Snip> But doesn't this only work if that layout is active. Therefore you would have to change to each different layouts? So how to change just the layers for all viewports to defpoints globally? W. Kirk Crawford Rochester Hills, Michigan