Share
 
 

To Start the Program With Script

  1. Click local drive Applications Utilities Terminal.
  2. In the Terminal window, enter AutoCAD drawing_name -b script_name
    Note: AutoCAD listed above is the path to the AutoCAD executable. By default it is located at: /Applications/Autodesk/AutoCAD <release>/AutoCAD <release>.app/Contents/MacOS/AutoCAD

    To start a new file, instead of a drawing file name, enter the -t switch and the name of a template file: -t template_drawing.

    The name of the script file must be the last parameter listed. The file extensions are optional.

  3. Press Enter.

    AutoCAD opens the drawing and executes the commands in the script file. When the script has been completed, the Command prompt is displayed.

Note: When using a switch option, you must follow the switch with a space and then the name of a file. For example, the following entry starts the program from a folder named AutoCAD 2025 with the drawing template arch1.dwt and executes a script filestartup.scr. "/Applications/Autodesk/AutoCAD 2025/AutoCAD 2025.app/Contents/MacOS/AutoCAD" -t /templates/arch1.dwt -b startup.scr

Was this information helpful?