Please enable JavaScript to view this site.

A kit data file contains information required to run the kit components: search for them, run them, connect them at the startup of KOMPAS-3D and so on. The extension of the kit data file is kit.config.

You can save the information about the current contents of the kit into the kit data file. You can use this file to restore the information about the configuration of the kit in the same workstation or in another workstation. Reading and writing of *.kit.config files are performed in the dialog Configurator using commands from the menu File.

System settings and new document settings are not stores in the kit data file. The commands Setting — Save/Load parameters... commands are used for their writing and reading.

Default kit data file

The data about the default composition of the <{PRODUCT_NAME}> kit (i.e., the composition at the time of installation) is stored in the base.kit.config, mcad.kit.config, and ecad.kit.config files. The folder for placing these files is defined by the DefaultKitConfigs variable of KOMPAS-3D environment, by default — %PROGRAMDATA%\Ascon\Kompas-3D\[version].

The same folder contains the file aec.kit.config with information about the default contents of the Construction Configuration kit.

In the default *.kit.config files, the paths to the components are specified relative to the folders, the paths to which, in turn, are defined in the following environment variables of KOMPAS-3D:

Apps — or add-ons,

Libs — for libraries,

Utils — for utilities.

Custom kit data file

Upon the first launch of KOMPAS-3D, the kompas.kit.config file is created — a user configuration data file. This file contains the information about all the available components, that is, all the information about all the default *.kit.config. files.

If the configuration changes during the work with KOMPAS-3D, for example, components are added or removed, libraries and add-ons are connected/disconnected, all these changes are recorded in the kompas.kit.config file.

On the next launch of KOMPAS-3D, the kit composition information will be taken from the kompas.kit.config file.

If during the next launch of KOMPAS-3D the kompas.kit.config file is not found, it will be recreated — just as it is during the first launch.

The folder for placing the kompas.kit.config file is defined by the KitConfig variable of the KOMPAS-3D environment, by default %APPDATA%\\Ascon\\Kompas-3D\\[version].

The kompas.kit.config file contains absolute paths to the components.

Creating and using a default kit data file

If it is required to use the same set of add-ons, libraries, and utilities on several workstations KOMPAS-3D, it is necessary to manually create a default data file for the set and use it on all these workstations.

Step-by-step instructions

1.Install KOMPAS-3D and configurations on one of workstations.

2.If needed, create the Kompas.ini file and specify the paths:

In the Apps key — the path to the folder with KOMPAS add-ons,

In the Libs key — the path to the folder with KOMPAS libraries,

In the Utils key — the path to the folder with utilities.

3.Save the Kompas.ini file and restart KOMPAS-3D.

4.Call the Add-ons — Configurator... command in KOMPAS-3D. In the Configurator dialog that appears, please complete the following steps:

4.1. Set up the kit configuration if needed: you can add or remove applications, libraries and tools.

4.2. Save the configuration in a *.kit.config file using the File — Save Configuration command in the Configurator dialog menu.

5.Install KOMPAS-3D on all remaining workstations and replace all default data files of the kit created with the *.kit.config file (i.e., all *.kit.config files in the folder specified in the DefaultKitConfigs variable of the KOMPAS-3D environment).

The name of the *.kit.config file you've created may not be the same as the reserved names:

base.kit.config,

mcad.kit.config,

ecad.kit.config,

aec.kit.config.

If you follow this condition, the data file will not be deleted when you reinstall or update KOMPAS-3D. After you reinstall or update KOMPAS-3D, you'll need to delete all other *.kit.config files that appear in the folder specified by the DefaultKitConfigs environment variable of KOMPAS-3D.

Please note the following concerning reading and writing the *.kit.config files:

Reading:

If an application, a library or an utility is not found in the specified folder, then this component is not added to the configuration (that is, it is not displayed in the list in the Configurator dialog box). If an utility is missing, the software alto tries to locate it in the paths determined by the %Path% system variable.

Writing:

Information about built-in add-ons is not included in the file.

If the add-on (library, utility) is in the folder determined by the variable App (Libs, Utils) of the KOMPAS-3D environment or in the corresponding key of the KOMPAS.ini file, then the path to this component relative to this folder is written in the *.kit.config file. Otherwise (e. g. if the configuration contains the utilities in the folders determined by the %Path%) system variable, the full path is written. That is, if you want the saved *.kit.config file to be machine-independent, and to use it by default, please check this file and correct the paths (the values of the path attribute) to replace absolute paths with relative paths. You can edit the *.kit.config files in any text editor, e. g. in Notepad.

© ASCON-Design systems, LLC (Russia), 2024. All rights reserved.