Skip to main content

Mechanical scripting interface 2025

`Dataset2D`

Last update: 09.03.2026

class Ansys.Mechanical.DataModel.Utilities.Dataset.Dataset2D

Bases: object

A class to reference the dataset object. A dataset object is regarded as pure mathematical data containing X and Y values.

Overview

Properties

Name Description
XAxisVals Gets the X axis variable for the dataset.
YAxisVals Gets the Y axis variable for the dataset.

Property detail

property Dataset2D.XAxisVals : Ansys.Mechanical.DataModel.Utilities.Charts.ChartVariable | None

Gets the X axis variable for the dataset.

property Dataset2D.YAxisVals : Ansys.Mechanical.DataModel.Utilities.Charts.ChartVariable | None

Gets the Y axis variable for the dataset.

Connect with Ansys