ansys.dyna.core.lib.cards.Cards#
- class ansys.dyna.core.lib.cards.Cards(keyword)#
Base class for card containers with I/O.
- property parameter_set: ansys.dyna.core.lib.parameters.ParameterSet | None#
Get the parameter set for this Cards instance.
For KeywordBase (where self has _parameter_set): returns self._parameter_set. For CardSet items (where self._keyword exists): returns self._keyword._parameter_set.
- property options: ansys.dyna.core.lib.option_card.Options#
Gets the options_api of this keyword, if any
- write(buf: TextIO, format: ansys.dyna.core.lib.format_type.format_type, comment: bool | None = True, retain_parameters: bool = False, **kwargs)#
Writes the cards to buf using format.