Skip to main content

Mechanical scripting interface

IReadOnlyDataSeries

Last update: 14.01.2025

class Ansys.Mechanical.Interfaces.IReadOnlyDataSeries

Bases: object

IReadOnlyDataSeries interface.

Overview

Properties

Name Description
Count Gets the number of data points.
DataType Gets the type stored by the data series.
Item Item property.
Name Gets the name of the data series.
QuantityName Gets the quantity name of the data series, e.g., “Length”, “Pressure”, or “Heat Flux”.
Unit Gets the string representation of the data series units, e.g., “m”, “kg m^-1 s^-2”,
Values Explicitly get the values of the data series.

Property detail

property IReadOnlyDataSeries.Count : int | None

Gets the number of data points.

property IReadOnlyDataSeries.DataType : type | None

Gets the type stored by the data series.

property IReadOnlyDataSeries.Item : Any | None

Item property.

property IReadOnlyDataSeries.Name : str | None

Gets the name of the data series.

property IReadOnlyDataSeries.QuantityName : str | None

Gets the quantity name of the data series, e.g., “Length”, “Pressure”, or “Heat Flux”.

property IReadOnlyDataSeries.Unit : str | None

Gets the string representation of the data series units, e.g., “m”, “kg m^-1 s^-2”, or “kg m^2 s^-3”.

property IReadOnlyDataSeries.Values : Collection | None

Explicitly get the values of the data series.