Is there a way to select a xref by the name?
I would like to use it in a script along with Draworder, moving the xref to the back.
But this option is not in the list:
Select Object: Window/Last/Crossing/BOX/ALL/Fence/WPolygon/CPolygon/Group/Add/Remove/Multiple/Previous/Undo/AUto/SIngle/SUbobject/Object.
Go to Solution.
You can use a line of lisp to do it for you:
(ssget "x" '((2 . "*Parcel*")))
Replace "*Parcel*" with the name of the xref you want to select. Or use wildcards as I did...what I show will select all Inserted blocks (which includes Xrefs) whose name includes Parcel. It is not case-sensitive.
It did the job!
Have a nice day!
This choice should be included in SELECT command!
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.