ansys.dyna.core.lib.card_interface#

Classes#

CardInterface

Abstract base class for all the implementations of keyword cards.

Module Contents#

class ansys.dyna.core.lib.card_interface.CardInterface[source]#

Abstract base class for all the implementations of keyword cards.

classmethod __subclasshook__(subclass)[source]#
abstract read(buf: TextIO) None[source]#

Reads the card data from an input text buffer.

abstract write(format: ansys.dyna.core.lib.format_type.format_type | None, buf: TextIO | None, comment: bool | None) 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.

property format: ansys.dyna.core.lib.format_type.format_type[source]#
Abstractmethod:

Get the card format type.