Visual LISP, AutoLISP and General Customization
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: get the layer-info rmations by dimensions / blogs by nentsel
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
dbroad wrote:OP said he already had the results of nentsel.
........
If so, assume he uses ns for that result. Assume OP has already done (setq ns (nentsel))
What is simplest is to generally use what you already have.
Thats is why i said "I would have thought"
What i did was select the parent block then invoke nentselp. Doesnt that give the same result?
variable d is the parent and nobj is the nested object.
Thanks for that snippet Dbroad
Cheers
Re: get the layer-info rmations by dimensions / blogs by nentsel
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
>>Doesnt that give the same result? variable d is the parent and nobj is the nested object.
It certainly works. The reason I chimed in is that it didn't directly answer his question, which I interpreted to mean, "How to get the parent block given the nentsel return value?" I thought he could figure out how to obtain the layer from your example without further assistance but perhaps was assuming too much. ![]()
Your approach would have been another valid approach but if the person wants both the parent and the nested entity, only one call need be made, that to nentsel.
Re: get the layer-info rmations by dimensions / blogs by nentsel
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
dbroad wrote:
Your approach would have been another valid approach but if the person wants both the parent and the nested entity, only one call need be made, that to nentsel.
Right on.![]()
Cheers dbroad


