Settings#
- class pyedb.generic.settings.Settings#
Bases:
objectManages all PyEDB environment variables and global settings.
Overview#
Time interval between the retries by the |
|
Environment variables that are set before launching a new AEDT session, |
|
AEDT version in the form |
|
Global PyEDB log file size in MB. The default value is |
|
Flag for enabling and disabling the global PyEDB log file located in the global temp folder. |
|
Flag for enabling and disabling the local PyEDB log file located |
|
Global PyEDB log file path. The default is |
|
Flag for whether to write out the method’s arguments in the debug logger. |
|
Flag for enabling and disabling the internal PyEDB error handling. |
|
Flag for enabling and disabling the logging to a file. |
|
Flag for enabling and disabling the logging overall. |
|
PyEDB log file path. |
|
Message format of the log entries. |
|
Date format of the log entries. |
|
Flag for enabling and disabling the logger for any EDB API methods. |
|
Flag for enabling and disabling the logging for internal methods. |
|
Flag for enabling and disabling the debug level logger. |
|
Flag for enabling and disabling the logging to STDOUT. |
|
Optional path for the EDB DLL file. |
|
Import detail#
from pyedb.generic.settings import Settings
Property detail#
- property Settings.retry_n_times_time_interval#
Time interval between the retries by the
_retry_n_timesmethod.
- property Settings.edb_environment_variables#
Environment variables that are set before launching a new AEDT session, including those that enable the beta features.
- property Settings.aedt_version#
AEDT version in the form
"2023.x". In AEDT 2022 R2 and later, evaluating a bounding box by exporting a SAT file is disabled.
- property Settings.global_log_file_size#
Global PyEDB log file size in MB. The default value is
10.
- property Settings.enable_global_log_file#
Flag for enabling and disabling the global PyEDB log file located in the global temp folder. The default is
True.
- property Settings.enable_local_log_file#
Flag for enabling and disabling the local PyEDB log file located in the
projectname.pyedbproject folder. The default isTrue.
- property Settings.global_log_file_name#
Global PyEDB log file path. The default is
pyedb_username.log.
- property Settings.enable_debug_methods_argument_logger#
Flag for whether to write out the method’s arguments in the debug logger. The default is
False.
- property Settings.enable_error_handler#
Flag for enabling and disabling the internal PyEDB error handling.
- property Settings.enable_file_logs#
Flag for enabling and disabling the logging to a file.
- property Settings.enable_logger#
Flag for enabling and disabling the logging overall.
- property Settings.logger_file_path#
PyEDB log file path.
- property Settings.logger_formatter#
Message format of the log entries. The default is
'%(asctime)s:%(destination)s:%(extra)s%(levelname)-8s:%(message)s'
- property Settings.logger_datefmt#
Date format of the log entries. The default is
'%Y/%m/%d %H.%M.%S'
- property Settings.enable_debug_edb_logger#
Flag for enabling and disabling the logger for any EDB API methods.
- property Settings.enable_debug_internal_methods_logger#
Flag for enabling and disabling the logging for internal methods. This setting is useful for debug purposes.
- property Settings.enable_debug_logger#
Flag for enabling and disabling the debug level logger.
- property Settings.enable_screen_logs#
Flag for enabling and disabling the logging to STDOUT.
- property Settings.edb_dll_path#
Optional path for the EDB DLL file.
- property Settings.aedt_installation_path#
Attribute detail#
- Settings.INSTALLED_VERSIONS = None#
- Settings.INSTALLED_STUDENT_VERSIONS = None#
- Settings.INSTALLED_CLIENT_VERSIONS = None#
- Settings.LATEST_VERSION = None#
- Settings.LATEST_STUDENT_VERSION = None#
- Settings.specified_version = None#
- Settings.is_student_version = False#
- Settings.remote_rpc_session = False#
- Settings.pyedb_server_path = ''#
- Settings.formatter = None#
- Settings.time_tick#
- Settings.logger = None#
- Settings.log_file = None#