ansys.dyna.core.lib.card_writer#
Function to write cards.
Functions#
|
Write the cards. |
Module Contents#
- ansys.dyna.core.lib.card_writer.write_cards(cards: List[ansys.dyna.core.lib.card_interface.CardInterface], buf: TextIO, write_format: ansys.dyna.core.lib.format_type.format_type, comment: bool | None = True, retain_parameters: bool = False, parameter_set: ansys.dyna.core.lib.parameters.ParameterSet | None = None, keyword_id: str | None = None)[source]#
Write the cards.
- Parameters:
- cards
listofCardInterface The cards to write.
- buf
TextIO Buffer to write to.
- write_format
format_type The format to use for writing.
- commentbool,
optional Whether to write field name comments. Default True.
- retain_parametersbool,
optional If True, write original parameter references instead of values.
- parameter_set
ParameterSet,optional The parameter set containing stored refs (when retain_parameters=True).
- keyword_id
str,optional The keyword’s ID for building URI paths (when retain_parameters=True).
- cards