AutoCAD Civil 3D
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Select Object
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
159 Views, 3 Replies
10-18-2012 02:18 PM
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/WPolygo
revious/Undo/AUto/SIngle/SUbobject/Object.
Solved! Go to Solution.
Re: Select Object
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-18-2012 04:19 PM in reply to:
akbarg
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.
Jeff_M, also a frequent Swamper
Re: Select Object
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-19-2012 05:05 AM in reply to:
Jeff_M
Thanks!
It did the job!
Have a nice day!
Re: Select Object
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-19-2012 05:10 AM in reply to:
Jeff_M
This choice should be included in SELECT command!
