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.
Overview#
Writes the cards to buf using format. |
Gets the options_api of this keyword, if any |
|
Get the card format type. |
Import detail#
from ansys.dyna.core.lib.cards import Cards
Property detail#
- property Cards.options: ansys.dyna.core.lib.option_card.Options#
Gets the options_api of this keyword, if any
- property Cards.option_specs: Iterable[ansys.dyna.core.lib.option_card.OptionSpec]#
Get the card format type.
Method detail#
- Cards.get_option_spec(name: str) ansys.dyna.core.lib.option_card.OptionSpec #
- Cards.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