Skip to main content

Mechanical scripting interface

Point

Last update: 14.01.2025

class Ansys.Mechanical.Graphics.Point

Bases: object

Point class.

Overview

Constructors

Name Description
ConvertUnit Returns a new Point given new unit.
op_Equality Equal operator
op_Inequality Not-Equal operator

Methods

Name Description
Equals Object.Equals(object o) override
GetHashCode Object.GetHashCode() override

Properties

Name Description
Location The location of the Point.
Unit The length unit of the Point.

Property detail

property Point.Location : List[float] | None

The location of the Point.

property Point.Unit : str | None

The length unit of the Point.

Method detail

classmethod Point.ConvertUnit(inPoint: Ansys.Mechanical.Graphics.Point, outputUnit: str)

Returns a new Point given new unit.

Point.Equals(o: Any)

Object.Equals(object o) override

Point.GetHashCode()

Object.GetHashCode() override

classmethod Point.op_Equality(a: Ansys.Mechanical.Graphics.Point, b: Ansys.Mechanical.Graphics.Point)

Equal operator

classmethod Point.op_Inequality(a: Ansys.Mechanical.Graphics.Point, b: Ansys.Mechanical.Graphics.Point)

Not-Equal operator