Not applicable
10-19-2014
11:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So I have created a .scr file that has been tested and works, but when I try to call it with a batch file it appears it isn't running the .scr file.
Batch file:
start /wait "C:\Program Files\Autodesk\AutoCAD 2014\acad.exe" "C:\Users\User\Documents\Acade 2014\AeData\Proj\Test\Test\meow.dwg" /b "C:\Users\User\Dropbox\LISP\ImportBlocks.scr" start /wait "C:\Program Files\Autodesk\AutoCAD 2014\acad.exe" "C:\Users\User\Documents\Acade 2014\AeData\Proj\Test\Test\meow2.dwg" /b "C:\Users\User\Dropbox\LISP\ImportBlocks.scr"
It opens both drawings but the commands in the .scr file don't run. Any thoughts? I can give more details upon request but just based on what is going on, the problem must be in the above code inside of a .bat file. Dragging and dropping the .scr file into the drawings works flawlessly (inserting and exploding objects).
Command Line History:
Opening an AutoCAD 2013 format file. Regenerating model. AutoCAD menu utilities loaded. AutoCAD Electrical menu utilities loaded. Command: Autodesk DWG. This file is a TrustedDWG last saved by an Autodesk application or Autodesk licensed application. Command:
Thanks!
Solved! Go to Solution.
Link copied