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

Cause the selected nested object to highlight.

1 REPLY 1
Reply
Message 1 of 2
mdhutchinson
409 Views, 1 Reply

Cause the selected nested object to highlight.

I think there is a function that will cause the selected object that is in the XRef to highlight.

Can anyone point me in the right direction?

1 REPLY 1
Message 2 of 2
Lee_Mac
in reply to: mdhutchinson

You can use the redraw function with mode argument 3 to highlight a given entity, or the sssetfirst function to select a supplied selection set; however, unfortunately neither of these functions will work with nested entities.

 

An alternative might be to duplicate the nested entity (transforming the entity using the transformation matrix returned by nentsel[p]) and highlight the duplicated entity - however, you would need to implement a fail-safe to ensure that the duplicated entity is deleted when you have finished using it.

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

Post to forums  

Forma Design Contest


Autodesk Design & Make Report