access layer manager 'filter' setting via command line

access layer manager 'filter' setting via command line

dtiemeyer
Advisor Advisor
1,047 Views
2 Replies
Message 1 of 3

access layer manager 'filter' setting via command line

dtiemeyer
Advisor
Advisor

I would like a macro or lisp routine that will change the 'filter' setting in layer manager back to 'all', so I can run it when the drawing opens (we get a lot of people who dont change it back after having selected an xref).

 

Suggestions?

My other CAD is a Cadillac and I like to Revit to the Max!
0 Likes
Accepted solutions (1)
1,048 Views
2 Replies
Replies (2)
Message 2 of 3

ВeekeeCZ
Consultant
Consultant
Accepted solution

Try...

 

(defun C:lfltoff nil (command "_-layer" "_filter" "_S" "All" "_X" "") (princ))

Under the -layer command you can type "FILTER".

Or +layer command.

0 Likes
Message 3 of 3

dtiemeyer
Advisor
Advisor

Thanks BeekeeCZ,   excellent knowledge of hidden command line options, that's why I come to the forums!

My other CAD is a Cadillac and I like to Revit to the Max!
0 Likes