ansys.dyna.core.lib.card_set#
Set of cards that act as one card.
It is a generic card, so it needs to be given a type as an argument. That type is used for each card, and behaves like a keyword.
Classes#
Abstract base class for all the implementations of keyword cards. |
Module Contents#
- class ansys.dyna.core.lib.card_set.CardSet(set_type: type, length_func: Callable = None, active_func: Callable = None, option_specs: List[ansys.dyna.core.lib.option_card.OptionSpec] = None, **kwargs)[source]#
Bases:
ansys.dyna.core.lib.card_interface.CardInterface
Abstract base class for all the implementations of keyword cards.
- items() List[ansys.dyna.core.lib.cards.Cards] [source]#
- property format: ansys.dyna.core.lib.format_type.format_type[source]#
Get the card format type.
- write(format: ansys.dyna.core.lib.format_type.format_type | None = None, buf: TextIO | None = None, comment: bool | None = True) str | None [source]#
Renders the card in the dyna keyword format. :param buf: Buffer to write to. If None, the output is returned as a string :param format: format_type to use. Default to standard.