ansys.dyna.core.lib.field.Field#

class ansys.dyna.core.lib.field.Field(name: str, type: Field.__init__.type, offset: int, width: int, /, value: Any = None, **kwargs)#

Class to represent a field in a text card.

__repr__() str#
property name: str#

Get or set the name of the field.

property type: type#

Get or set the type of the field.

property offset: int#

Get or set the offset of the field.

property width: int#

Get or set the width of the field.

property value: Any#

Get or set the value of the field.

io_info() Tuple[str, Type]#

Return the value and type used for io.

Classes#

ReadOnlyValue

Class to represent a read-only value for a field.