Command Line

www.CAD6.com

Malz++Kassner CAD6 features some optional parameters for the command line that determine the application’s behavior during and after start-up. The currently defined parameters are:

<Filename>

Open: If the command line contains only a single file name, that file will be loaded after start-up. File names containing spaces must be enclosed in double quotes.

Example: "d:\My File.mkd".

/p or -p

Print: The first file name in the command line specifies a drawing to be loaded and printed using the File > Print > Drawing command. The printing dialog will be displayed, i.e. user interaction is required.

After printing was finished or canceled, the application terminates and returns a value:

0 = printing was offered to the user (whether printing actually occurred is not reflected in the return value)

1 = general failure

2 = no valid license

5 = error loading file

Example: -p "d:\My File.mkd".

/c or -c

Convert: The first file name in the command line specifies a file in a foreign format that shall be loaded and immediately saved as an MKD file. The second file name specifies the name of the target file.

The following values must appear directly after the c (without spaces) and be separated by commas: FileType[,Version,ConversionParameters]. Currently defined file types: DXF, DWG, PDF, SVG. Version determines the interface version that the subsequent options match (e.g. 6260 for CAD6 Release 2026.0). For details on the optional conversion parameters, refer to the description of the MKD format under MKI_DRAWINGREF in the CAD6interface (API) Online-Dokumentation. If no conversion parameters are specified, the application will use its current settings for opening the respective file type.

After conversion, the application terminates and returns a value:

0 = the conversion was completed

1 = general failure

2 = no valid license

3 = unknown option version

4 = syntax error in options

5 = error loading source file

6 = error saving destination file

Example: -cPDF "d:\Input.pdf" "d:\Output.mkd".

/w or -w

Window Size: The application will be started with given size and position. The following value must directly follow the w without any spacing, separated by commas: X-coordinate,Y-coordinate,width,height (all in pixels).

Example: -w10,10,1024,768.

/k or -k

Configuration: The application will use the stated subfolder to store all global options and settings. This allows to use different versions of Malz++Kassner CAD6 that do not share the same settings. The subfolder name must directly follow the k and must not contain any spaces.

Example: -kTestenvironment.

/r or -r

Order: The application displays the Help > Order dialog after start-up.

/a or -a

Activation: The application displays the Help > Activation / Dongle dialog after start-up.

/forceall or -forceall

Independent from the current license, the application tries to load all available Malz++Kassner plug-ins. Non-licensed plug-Ins whose trial period has expired will be dismissed.

/forcestudio or -forcestudio

Independent from the current license, the application tries to load all those Malz++Kassner plug-ins that are part of the CAD6studio package. Non-licensed plug-Ins whose trial period has expired will be dismissed.

/forcenone or -forcenone

The application will not load any Malz++Kassner plug-ins, independent from the current license.

/nocustom or -nocustom

The application will not load any third-party plug-ins. Otherwise, all such plug-ins will be loaded independent of the current license.

/testall or -testall

If the application is in trial mode, i.e. not licensed, it will load all available Malz++Kassner plug-ins. Otherwise, it will load plug-ins based on the current license. If -testall is not stated, the application in trial mode will load all those plug-ins that are part of the CAD6studio package.

 

CAD6studio Release 2026.0 - Copyright 2026 Malz++Kassner® GmbH