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

selecting xref path

2 REPLIES 2
Reply
Message 1 of 3
orin4321
220 Views, 2 Replies

selecting xref path

once you type in the xref command. is there a lisp routine that bypasses the dialog box, and takes you straight to the current working file? bouncing back and forth between multiple jobs, reselecting file paths gets old.
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: orin4321

Here's what I use to OPEN another drawing in the current drawing's folder, for the same reason.
Maybe you can adjust it for your purposes.

{code}
;;; DCF.lsp
;;; to open a Drawing in the Current drawing's Folder
(defun C:DCF ()
(vla-activate
(vla-open
(vla-get-documents
(vlax-get-acad-object)
)
(getfiled "Select drawing:" (getvar 'dwgprefix) "dwg" 0)
)
)
)
(prompt "\nType DCF to open a Drawing in the Current Folder.")

{code}

--
Kent Cooper


orin4321 wrote...
once you type in the xref command. is there a lisp routine that bypasses the dialog box, and takes
you straight to the current working file? bouncing back and forth between multiple jobs,
reselecting file paths gets old.
Message 3 of 3
EC-CAD
in reply to: orin4321

orin4321,

Try the attached.

Has dialog to pick which xref to open.

Type 'close' .. to get back.



Bob

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

Post to forums  

Autodesk Design & Make Report

”Boost