Online-help

Run from Command Lline

Run from Command Lline

Run from Command Line

There is a possibility to load a program module or extension script together with nanoCAD launch from the command line of the operating system or by using a shortcut.

Syntax of call from the command line:

<path>/ncad.exe [<path>/drawing file] [-invisible] [-s <path>/script file] [-g <path>/application file]

File names and paths that contain spaces should be enclosed with double quotation marks. For example:

"C:\Program Files\Nanosoft\nanoCAD x64 Plus 10.5\nCad.exe" "C:\Users\Alex\AppData\Roaming\Nanosoft\nanoCAD x64 Plus 10.5\Samples\nCAD Mechanica. Shift.dwg"

Script file or file of loaded application should be the most recent parameter in the call line.

Options:

-invisible

nanoCAD launch in a stealth mode. It creates only nanoCAD process. Nether window, nor program message are displayed on the screen. It is convenient to use at simultaneous load of script of loaded module to fulfill operation in the background.

-g

Loading program module.

-s

Loading command script (*.scr).

Example of loading a drawing file and LISP-scipt in the background:

"C:\Program Files\Nanosoft\nanoCAD x64 Plus 10.5\nCad.exe" "C:\Users\Alex\AppData\Roaming\Nanosoft\nanoCAD x64 Plus 10.5\Samples\nCAD Mechanica. Shift.dwg" -invisible -g "C:\modules\plot_pdf.lsp"

Example of loading a command script:

nCad.exe -s "C:\modules\my settings 3.scr"

 

We collect Cookies
We use cookies to ensure that we give you the best experience on our website. By clicking “Accept”, you agree to our website’s cookie use as described in our Privacy Statement.