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:
/ncad.exe [/drawing file] [-invisible] [-s /script file] [-g /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 
-g 
-s 
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”




Post your comment on this topic.