LookUpTable1D#

class ansys.acp.core.LookUpTable1D(*, name='LookUpTable1D', origin=(0.0, 0.0, 0.0), direction=(0.0, 0.0, 0.0))#

Instantiate a 1D Look-Up Table.

The one-dimensional look-up table is defined along an axis. The locations of the data points along the axis are defined by the Location column, which:

  • contains scalar data. When the column contains N data points (rows), it has shape (N, ).

  • is automatically created when the look-up table is instantiated

  • cannot be deleted or renamed

When the length of the Location column is changed, the data of the other columns is automatically either truncated, or extended with NaN values to fit.

Parameters:
  • origin (tuple[float, float, float]) – Origin of the axis w.r.t. which the look-up table locations are defined.

  • direction (tuple[float, float, float]) – Direction of the axis w.r.t. which the look-up table locations are defined.

Added in ACP server version 24.2.

Methods

LookUpTable1D.clone(*[, unlink])

Create a new unstored object with the same properties.

LookUpTable1D.create_column(*[, name, ...])

Instantiate a Column of a 1D Look-Up Table.

LookUpTable1D.delete()

Delete the object.

LookUpTable1D.store(parent)

Store the object on the server.

Attributes

LookUpTable1D.columns

LookUpTable1D.direction

LookUpTable1D.id

Identifier of the object, used for example as key in maps.

LookUpTable1D.name

The name of the object.

LookUpTable1D.origin

LookUpTable1D.parent

The parent of the object.

LookUpTable1D.status

Examples using LookUpTable1D#

Advanced selection rules example

Advanced selection rules example