×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Selecting Nested Entities in X-Ref

Selecting Nested Entities in X-Ref

Selecting Nested Entities in X-Ref

(OP)
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.

RE: Selecting Nested Entities in X-Ref

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")))
)

RE: Selecting Nested Entities in X-Ref

Use the Express Tool XLIST

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources