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

lisp to draw order

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
smallƑish
424 Views, 5 Replies

lisp to draw order

For faster workflow, can help me to write a code that enables selecting an object and adjusting its draw order to bring it to the front."

5 REPLIES 5
Message 2 of 6
Kent1Cooper
in reply to: smallƑish

I've used the attached DraworderBackFront.lsp with its DB command to put things at the Back, and DF to put them at the Front.  Single or multiple object(s), including noun-verb operation [pre-selection].  Also posted before, >here< -- see Message 6 there for (autoload) to have it available but not loaded until called for.

Kent Cooper, AIA
Message 3 of 6
komondormrex
in reply to: smallƑish

(vl-cmdf "_.draworder" (car (entsel "\nPick entity to move to front: ")) "" "_f")
Message 4 of 6
smallƑish
in reply to: komondormrex

It's perfect for my requirement

Thank you so much 

Message 5 of 6
smallƑish
in reply to: Kent1Cooper

Much more advanced than what I have requested.

Thank you so much

Message 6 of 6
paullimapa
in reply to: smallƑish

You could also try to access from display order Toolbar

https://help.autodesk.com/view/ACD/2022/ENU/?guid=GUID-510E8CAF-3B78-4890-BE2E-0740E98ACBC8


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  

AutoCAD Inside the Factory


Autodesk Design & Make Report