Skip to main content

Mechanical scripting interface

DoubleProperty

Last update: 14.01.2025

class Ansys.ACT.Mechanical.AdditionalProperties.DoubleProperty

Bases: object

Provides a way to create properties that can hold double type values.

Overview

Properties

Name Description
DisplayName The name of the property shown in the UI. If not set, the Name property is used.
GroupName The group name of the property shown in the UI, and used to separate properties based on group name.
Name The name of the property.
ReadOnly Returns whether a property is readonly.
Tooltip The tooltip of the property in the UI.
ValidRange Tuple that can be used to control the upper and lower bounds of a double property.
Value The stored value of the property.
ValueString Get the string representation of the value.

Property detail

property DoubleProperty.DisplayName : str | None

The name of the property shown in the UI. If not set, the Name property is used.

property DoubleProperty.GroupName : str | None

The group name of the property shown in the UI, and used to separate properties based on group name.

property DoubleProperty.Name : str | None

The name of the property.

property DoubleProperty.ReadOnly : bool | None

Returns whether a property is readonly.

property DoubleProperty.Tooltip : str | None

The tooltip of the property in the UI.

property DoubleProperty.ValidRange : tuple | None

Tuple that can be used to control the upper and lower bounds of a double property.

property DoubleProperty.Value : Any | None

The stored value of the property.

property DoubleProperty.ValueString : str | None

Get the string representation of the value.