ansys.dyna.core.lib.variable_card#
Classes#
Variable length card |
Module Contents#
- class ansys.dyna.core.lib.variable_card.VariableCard(name: str, card_size: int, element_width: int, type: VariableCard.__init__.type, length_func: Callable = None, active_fn: Callable = None, data=None, format: ansys.dyna.core.lib.format_type.format_type = format_type.default)[source]#
Bases:
ansys.dyna.core.lib.card_interface.CardInterface
Variable length card
- 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 [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.