load#
- Configuration.load(config_file, append=True, apply_file=False, output_file=None, open_at_the_end=True)[source]#
Import configuration settings from a configure file.
- Parameters:
- config_file
str
,dict
Full path to configure file in JSON or TOML format. Dictionary is also supported.
- appendbool,
optional
Whether if the new file will append to existing properties or the properties will be cleared before import. Default is
True
to keep stored properties- apply_filebool,
optional
Whether to apply the file after the load or not. Default is
False
.- output_file
str
,optional
Full path to the new aedb folder where the configured project will be saved.
- open_at_the_endbool,
optional
Whether to keep the new generated file opened at the end. Default is
True
.
- config_file
- Returns:
dict
Config dictionary.