ansys.dyna.core.lib.config#
Module for configuration settings.
Attributes#
Functions#
Return whether LSPP default values are currently enabled. |
|
Return whether CSV format auto-detection is enabled. |
|
Disable LSPP default values within the context. |
|
Context manager to temporarily disable CSV format auto-detection. |
Module Contents#
- ansys.dyna.core.lib.config.use_lspp_defaults()[source]#
Return whether LSPP default values are currently enabled.
- ansys.dyna.core.lib.config.csv_autodetect_enabled()[source]#
Return whether CSV format auto-detection is enabled.
- ansys.dyna.core.lib.config.disable_lspp_defaults()[source]#
Disable LSPP default values within the context.
- ansys.dyna.core.lib.config.disable_csv_autodetect()[source]#
Context manager to temporarily disable CSV format auto-detection.
By default, pydyna auto-detects comma-delimited (CSV) format in keyword card data. Use this context manager if CSV detection causes issues with specific files.
Examples
>>> from ansys.dyna.core.lib.config import disable_csv_autodetect >>> with disable_csv_autodetect(): ... deck.loads(content) # CSV detection disabled