When starting up BricsCAD it is possible to add arguments or switches. E.g. the command line "BricsCAD.exe drawing1.dwg drawing2.dwg drawing3.dwg" will start the BricsCAD application and load the specified drawings while the command line "bricscad.exe /P MyProfile" will load BricsCAD using user profile MyProfile.
"/P MyProfile" is called a command line switch. Both a slash or a hyphen are accepted to precede the switch, e.g. "-P MyProfile" will also work. The space is optional, e.g. "/PMyProfile" would also work, and the switch character is case insensitive, e.g. "-p MyProfile" is also fine.
Switch |
Description |
/P [userProfileName] |
Starting without the /P option, BricsCAD re-uses the last used user profile (called current user profile), which is not necessarily the Default profile. If the user profile specified with the /P option doesn't exist at startup, a new empty user profile will be created with that name. If the /P argument is an .arg file the arg file is used to initialize the profile settings on the first run (See Starting BricsCAD with a specific profile). |
/B [scriptFileName.scr] |
Runs a script at startup. |
/L |
Suppresses the startup splash screen. |
/LD [application.arx/brx/drx] |
Loads an application. |
/S [path] |
Redefines the SRCHPATH system variable. e.g. BricsCAD.exe /S C:\BricsCAD\ |
/T [TemplateFileName] |
Creates a new drawing based on the template drawing specified. |
regserver unregserver |
To register/unregister BricsCAD COM. Please note these arguments are to be used without a preceding "/". |
NOTES |
|
Besides these switches, BricsCAD supports file names as command line arguments.
Supported file types are:
DWG - to load a drawing
DXF - to load a drawing
SCR - to load a script
LSP - to load a LISP program
DLL - to load an ADS/SDS or DRX/ARX program
SLD - to load a slide file
MNU - to load a menu file
CUI - to load a menu file
If GETSTARTED = ON when you launch BricsCAD, the Get Started dialog displays, which let you choose the workspace and create a new drawing.
© Menhirs NV. All rights reserved. |