HELP: LISP/Macro script to br
I have a specific layer name that I constantly need to have it "bring to front" in terms of draw order.Can someone help me with a LISP/Macro script that do just that?
Thanks Please refer to this thread.
http://www.cadtutor.net/forum/showthread.php?26055-Lisp-for-Automatic-Draw-Order-Command-to-a-specific-Layer.&highlight=draw+order%2C+dimension
All you would have to do is rename the layer and change the setting to "front" You could use my Draw Order functions.
Thanks. WIll go through it.
Briefly saw it. But it cannot reorder by layer name only right? The layer still have to be selected, am i correct?
This particular LISP from Lee Mac did the trick.
However the wildcard layer name do not seems to include xref layers.
I also include it as a specific layer name as such : "xref dwg name|Layer name". But no go.
Any advise to include xref layers?
Note that the programs listed on the main function page are only examples - you can design any custom program to call the draw order functions, including one that will prompt for a layer name.
Alternatively, there is my Layer Draw Order program.
Since the standard AutoCAD DRAWORDER command operates with a set of objects as opposed to layer names, the supplied objects must be primary objects as AutoCAD commands which accept a selection set cannot work with nested objects.
Whereas, my Draw Order functions (as suggested above) will operate with objects derived from any owner (that is, primary objects in any layout, or objects contained within a block definition ).
页:
[1]