ansys.dyna.core.lib.cards.Cards#
- class ansys.dyna.core.lib.cards.Cards(keyword)#
Bases:
ansys.dyna.core.lib.option_card.OptionsInterface
Abstract base class for option card api interface.
- property options: ansys.dyna.core.lib.option_card.Options#
Gets the options_api of this keyword, if any
- get_option_spec(name: str) ansys.dyna.core.lib.option_card.OptionSpec #
- property option_specs: Iterable[ansys.dyna.core.lib.option_card.OptionSpec]#
Get the card format type.
- write(buf: TextIO, format: ansys.dyna.core.lib.format_type.format_type, comment: bool | None = True) bool #
Writes the cards to buf using format. Returns whether a superfluous newline is added