Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to access to nested ojects with ssget function?

3 REPLIES 3
Reply
Message 1 of 4
ahmet471985
613 Views, 3 Replies

how to access to nested ojects with ssget function?

how can i access to nested objects with ssget?

3 REPLIES 3
Message 2 of 4
Kent1Cooper
in reply to: ahmet471985


@ahmet471985 wrote:

how can i access to nested objects with ssget?


I don't think you can -- I believe (ssget) "sees" only top-level objects.  Look into (nentsel) and/or (nentselp).  Both require individual selection of each nested object, so they won't find multiples the way (ssget) can find multiple top-level objects at the same time, but depending on your application, they may work for you.

Kent Cooper, AIA
Message 3 of 4
ahmet471985
in reply to: Kent1Cooper

How to use :N mode in ssget?

Message 4 of 4
paullimapa
in reply to: ahmet471985

You can read up more on what the :N option does on Lee Mac's site: http://www.lee-mac.com/ssget.html#format

But I would not use the :N option in ssget as Lee Mac states that the results are erratic so therefore you cannot depend on it.

You can however use the standard ssget function and then use ssname to grab the ententity and then drill down to the nested entity you're looking for.


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost