Raymond Rizkillah's latest routine includes a set of macros to dynamically control layer visibility in an AutoCAD drawing with multiple xrefs, without involving the Layer Properties dialog box. After loading the LISP file, choose from the commands VPF for ViewPort Freeze, VPT for ViewPort Thaw, LAF for layer freeze, or LAT for layer thaw — then specify any partial layer name, e.g., "AXE", "DIM", etc. in your input. This method is very useful for setting layer visibility within viewports, and works well when you are using standard layer names. You could easily modify these to perform repetitive layer commands that involve the same layer names. |