Skip to main content

Mechanical scripting interface

ApplyCancelProperty

Last update: 14.01.2025

class Ansys.ACT.Mechanical.AdditionalProperties.ApplyCancelProperty

Bases: object

Provides a way to create properties with Apply/Cancel buttons.

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.
Value The stored value of the property.
ValueString Get the string representation of the value.

Property detail

property ApplyCancelProperty.DisplayName : str | None

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

property ApplyCancelProperty.GroupName : str | None

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

property ApplyCancelProperty.Name : str | None

The name of the property.

property ApplyCancelProperty.ReadOnly : bool | None

Returns whether a property is readonly.

property ApplyCancelProperty.Tooltip : str | None

The tooltip of the property in the UI.

property ApplyCancelProperty.Value : Any | None

The stored value of the property.

property ApplyCancelProperty.ValueString : str | None

Get the string representation of the value.