ansys.dyna.core.lib.cards.Cards#
- class ansys.dyna.core.lib.cards.Cards(keyword)#
Bases:
ansys.dyna.core.lib.option_card.OptionsInterfaceAbstract 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#
Gets the option spec for the given name.
- property option_specs: Iterable[ansys.dyna.core.lib.option_card.OptionSpec]#
Gets all option specs for this keyword.
- 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.