ansys.dyna.core.lib.import_handler#
Import handler used by the import deck feature
Classes#
Optional transformation to apply, using type IncludeTransform |
|
Base class for import handlers. |
Module Contents#
- class ansys.dyna.core.lib.import_handler.ImportContext[source]#
Optional transformation to apply, using type IncludeTransform
- class ansys.dyna.core.lib.import_handler.ImportHandler[source]#
Base class for import handlers.
- before_import(context: ImportContext, keyword: str, buffer: TextIO)[source]#
Event called before reading a keyword.
keyword is the string label of the keyword buffer is a copy of the buffer to read from.
Usage: Return True if the keyword is to be imported as usual. Return False if the keyword is not to be imported.
- after_import(context: ImportContext, keyword: str | ansys.dyna.core.lib.keyword_base.KeywordBase)[source]#
Event called after a keyword is imported.
keyword is the imported keyword. It could be a string or a keyword object
Depending on the context is a