Code Red > AutoLISP (Vanilla / Visual)

Viewport layer filter

<< < (2/2)

PitchBlack98:
Heres the actually drawing I'm working on now. I removed all client info so I don't get in trouble. I also had to delete the 4 car garage option to make the file small enough to attach here. It's bascially the same as what's still in the drawing.

All the tabs are set up the way I want them so they filter out the different foundation type depending on what tab I'm on. I want a lisp that will either let me select the foundation type I want and let me pick the viewport that I want to display it or one that will read my tabs and if it sees NSG on the tab it freezes all the layers needed to only display the NSG foundation in that tab's viewport. Does that make sense?

CAB:
Thanks for the look at the drawing.
Should be easy with some helper routines.
Go here
Look at the last post, there are two attachments.
See if that does it for you.


pseudo code


--- Code: ---Loop through layouts
  get viewport, should be only one per tab
  get list of freeze layers from data list using tab name
  thaw all layers in vp
  freeze predefined layers from list (check for current layer)
end of loop
--- End code ---

PitchBlack98:
Thanks for that link. Ill check them out tomorrow and see if I can use them to do what I want to do. Appreciated much...

Navigation

[0] Message Index

[*] Previous page

Go to full version