Using ScriptPro app to run AutoCAD lisp for multiple drawings

Using ScriptPro app to run AutoCAD lisp for multiple drawings

mruPRQUJ
Advocate Advocate
1,051 Views
9 Replies
Message 1 of 10

Using ScriptPro app to run AutoCAD lisp for multiple drawings

mruPRQUJ
Advocate
Advocate

Hello, could you please advise me on how to use the ScriptPro app to run AutoCAD lisp for multiple drawings? thank you very much in advance.

0 Likes
Accepted solutions (1)
1,052 Views
9 Replies
Replies (9)
Message 2 of 10

pendean
Community Legend
Community Legend
0 Likes
Message 3 of 10

mruPRQUJ
Advocate
Advocate

Hello Sir, I am sorry I did not say my question clearly. My question is: Using the ScriptPro app to run AutoCAD lisp for multiple drawings. The script is different with a lisp. I am not looking at how to write a script or edit it, many thanks.

0 Likes
Message 4 of 10

dmfrazier
Advisor
Advisor
0 Likes
Message 5 of 10

pendean
Community Legend
Community Legend

@mruPRQUJ wrote:

Hello Sir, I am sorry I did not say my question clearly. My question is: Using the ScriptPro app to run AutoCAD lisp for multiple drawings. The script is different with a lisp. I am not looking at how to write a script or edit it, many thanks.


SCRIPTPRO app, as the name implies, runs SCRIPTS. You seem to not know your LISP call needs to be in a script file first to use the app that uses scripts to run any commands including scripts.

 

At that link I shared, after it explains how to do what I just wrote above (since you did not know this), at about a third of the way down... shows you how to exactly use the SCRIPTPRO app

 

pendean_0-1678367702174.png

 

pendean_1-1678367723536.png

 

pendean_2-1678367748797.png

 

pendean_3-1678367795474.png

 

Now you know. Help yourself once more, start over again. If you still wish to use SCRIPTPRO app that requires you to use a script to call the lisp file.

0 Likes
Message 6 of 10

pendean
Community Legend
Community Legend

@dmfrazier wrote:

This is probably the link @pendean  meant to post:

https://www.cad-notes.com/run-a-script-on-multiple-dwg-with-scriptpro/

😁


OP just did not understand that the SCRIPTPRO app requires the creation of a script to run their lisp. Not much else.

0 Likes
Message 7 of 10

mruPRQUJ
Advocate
Advocate

Hi Sir, my question should be how to write a script to call a lisp, please provide more detail if it is possible, many thanks.

0 Likes
Message 8 of 10

dmfrazier
Advisor
Advisor
Accepted solution
0 Likes
Message 9 of 10

mruPRQUJ
Advocate
Advocate

Hi, I will try it later as I am tied up right now, thank you very much all of you!

0 Likes
Message 10 of 10

mruPRQUJ
Advocate
Advocate

It works, great job! I have another post, would you be interested in it? It is 

"how to avoid to open AutoCAD when using lisp to modify multiple drawings", please see the link below,

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-avoid-to-open-autocad-when-us...

 

thank you very much in advance!

0 Likes