How to open autocad into a new file and run a script from command prompt and export geometry as IGES into a desired folder?

How to open autocad into a new file and run a script from command prompt and export geometry as IGES into a desired folder?

hardikyp
Participant Participant
662 Views
2 Replies
Message 1 of 3

How to open autocad into a new file and run a script from command prompt and export geometry as IGES into a desired folder?

hardikyp
Participant
Participant

Hello,

 

I have a script file which generates a 3D geometry. I am trying to automate the process of doing the following through command prompt on windows 10:

1. Open AutoCAD into a new file

2. Run the script

3. Export the generated 3D geometry as IGES into a desired directory

 

I have the script sorted out and would like help with the command prompt commands as well as part of the script file which does the IGES export part. 

 

Any help will be appreciated. Much Thanks in advance.

0 Likes
663 Views
2 Replies
Replies (2)
Message 2 of 3

pendean
Community Legend
Community Legend
Share your script(s) with us please.
0 Likes
Message 3 of 3

hardikyp
Participant
Participant

Attached is the script. I want to open Autocad from windows' command prompt and then once the set of commands in the script is completed, export the 3d geometry to a desired file directory.

0 Likes