I have this code:
(defun openTemplatesinDC ()
(progn
(command "adcnavigate" "C:/Templates/Templates.dwt")(princ)
)
)
Is there any way to have it go one step further and open the "Layouts" sub-section?
Solved! Go to Solution.
Solved by hmsilva. Go to Solution.
Try adding this line before the last (princ) and let me know if it works for you:
(setvar "ctab" "layout1")
Warm regards from Los Angeles,
Emmanuel
@Anonymous wrote:
I have this code:
(defun openTemplatesinDC ()
(progn
(command "adcnavigate" "C:/Templates/Templates.dwt")(princ)
))
Is there any way to have it go one step further and open the "Layouts" sub-section?
Hi smiddleton,
try
(defun openTemplatesinDC () (command "adcnavigate" "C:/Templates/Templates.dwt/Layouts") (princ) )
Hope that helps
Henrique
That worked PERFECT! Seems way to logical now that I've been shown!
Thanks to all!
Can't find what you're looking for? Ask the community or share your knowledge.