Draw Order Manager for references

Draw Order Manager for references

barry2104
Collaborator Collaborator
1,069 Views
3 Replies
Message 1 of 4

Draw Order Manager for references

barry2104
Collaborator
Collaborator

I have a drawing with 6 Xrefs and want to visiually manage the draw order of These references to ensure the Hatching is at the bottom and the Fencing is at the top (for example).

I don't know that there is a built-in way that the draw order for Xrefs can be seen and amended.

I found this Picture online (based my example off the xref names) and I would like to get a Lisp to recreate this XRef Draw Order Manager, so that I can see the current draw order and Change it by selecting one (or more) Xref(s) and clicking on a "move up" or "move down" button to put them where they belong.

Only other way to do this that I'm Aware of is to select the Xref you want to be up top first, make its DO "down to bottom", then select the 2nd to top and again make it go "down to bottom" etc, but this is too time consuming

 

Does a sort of Xref DO Manager exist / can one be relatively easily created to be called up via a Lisp?

DO.JPG

 

 

 

 

 

 

Running AutoCAD Architecture 2020, in German
0 Likes
1,070 Views
3 Replies
Replies (3)
Message 2 of 4

pendean
Community Legend
Community Legend
This same topic came up a few years ago in the VB forum https://forums.autodesk.com/t5/net/manage-xref-draworder/td-p/6407481

Or you can place each XREF on its own layer (you probably should if you desire that level of control) and use this free LISP instead http://www.lee-mac.com/layerdraworder.html


0 Likes
Message 3 of 4

barry2104
Collaborator
Collaborator
That exact forum is where I found my picture for the example!
But I’m not familiar with VB – can I get that “converted” into lisp form? Otherwise I wouldn’t know how to get that VB Code to work (where to paste that text into & load into CAD?)
Will look at LMac’s lisp, could be the easiest (quickest) solution
Running AutoCAD Architecture 2020, in German
0 Likes
Message 4 of 4

ВeekeeCZ
Consultant
Consultant

That layer order system makes sense to me. If you establish some simple logical naming system, we could write a very simple routine without the need to go to a dialog...

e.g.

_xref1-hatch

_xref2-contours

_xref3-....

It will take all layers named _xref#* and follow the order...

0 Likes