Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Selecting Nested Entities in X-Ref

Status
Not open for further replies.

SouthernDrafter

Civil/Environmental
Nov 7, 2002
133
If there any tool or lisp routine that could select a nested entity in an X-ref for properties changing? With most commands, when you select an entity in an X-Ref the whole thing lights up, except for trim and extend commands. I would think there would be a way select such objects for properties changing too.

The reason I would like this feature is because of the time it would save in, say, changing an X-reffed's layer's color without having to hunt it down in the layer dialogue box, especially when you have some 500-600 layers to scroll through.

Any thoughts are appreciated.
 
Replies continue below

Recommended for you

Here's a short routine that returns the entity's data. You should be able to "pick" the layer name out of the list - it follows the 8 as in (8 . "LAYERNAMEHERE"). Type "nent" to start it.

(defun c:nent ()
(entget (car (nentsel "\nPick Nested Entity")))
)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor