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

Lisp to a opened file

2 REPLIES 2
Reply
Message 1 of 3
JMouraaa
231 Views, 2 Replies

Lisp to a opened file

I wanna use a lisp to open a file and alert one string (only for example)

 

For example:

I'm in 01.dwg and my lisp should open 02.dwg and (alert "TEST"). But I want this alert in the newest file.

The alert always appear in 01.dwg

Can someone help?

 

Thanks 

 

ps: sorry for my english.

 

2 REPLIES 2
Message 2 of 3
p_mcknight
in reply to: JMouraaa

Reference the following thread regarding limitations of LISP to do what you are asking.  Basically, you can edit and manipulate the drawing through your code but you cannot request user interaction in anything but the drawing from which the LISP was initiated (like alert would do).

 

http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/vla-open-vla-activate-question/td-p/1...

Message 3 of 3
JMouraaa
in reply to: p_mcknight

Thank you man. Help me a lot.

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

Post to forums  

Autodesk Design & Make Report

”Boost