DoubleProperty#

class ansys.mechanical.stubs.v261.Ansys.ACT.Mechanical.AdditionalProperties.DoubleProperty(name: str, groupName: str)#

Bases: object

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

Overview#

CopyFrom

CopyFrom method.

Equals

Equals method.

GetHashCode

GetHashCode method.

GetObjectData

GetObjectData method.

GetType

GetType method.

Resume

Resume method.

ToString

ToString method.

add_OnAfterPropertyChanged

add_OnAfterPropertyChanged method.

add_OnBeforePropertyChanged

add_OnBeforePropertyChanged method.

remove_OnAfterPropertyChanged

remove_OnAfterPropertyChanged method.

remove_OnBeforePropertyChanged

remove_OnBeforePropertyChanged method.

Access

Access property.

CanParameterize

CanParameterize property.

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.

ID

ID property.

IsParameterized

IsParameterized property.

Name

The name of the property.

Owner

Owner property.

ParameterType

ParameterType property.

PropertyControl

PropertyControl property.

ReadOnly

Returns whether a property is readonly.

Tag

Tag property.

Tooltip

The tooltip of the property in the UI.

Type

Type property.

Valid

Returns whether a property is valid.

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.Access: Ansys.Common.Interop.WBPropertyBrowsing.AnsPropertyAccess | None#

Access property.

property DoubleProperty.CanParameterize: bool | None#

CanParameterize property.

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.ID: int | None#

ID property.

property DoubleProperty.IsParameterized: bool | None#

IsParameterized property.

property DoubleProperty.Name: str | None#

The name of the property.

property DoubleProperty.Owner: Any | None#

Owner property.

property DoubleProperty.ParameterType: Ansys.Mechanical.DataModel.Enums.ParameterType | None#

ParameterType property.

property DoubleProperty.PropertyControl: Ansys.ACT.Mechanical.AdditionalProperties.Control | None#

PropertyControl property.

property DoubleProperty.ReadOnly: bool | None#

Returns whether a property is readonly.

property DoubleProperty.Tag: Any | None#

Tag property.

property DoubleProperty.Tooltip: str | None#

The tooltip of the property in the UI.

property DoubleProperty.Type: System.UInt16 | None#

Type property.

property DoubleProperty.Valid: bool | None#

Returns whether a property is valid.

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.

Method detail#

DoubleProperty.CopyFrom(property: Ansys.ACT.Mechanical.AdditionalProperties.CustomProperty) None#

CopyFrom method.

DoubleProperty.Equals(obj: Any) bool#

Equals method.

DoubleProperty.GetHashCode() int#

GetHashCode method.

DoubleProperty.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#

GetObjectData method.

DoubleProperty.GetType() type#

GetType method.

DoubleProperty.Resume(property: Ansys.ACT.Mechanical.AdditionalProperties.CustomProperty) None#

Resume method.

DoubleProperty.ToString() str#

ToString method.

DoubleProperty.add_OnAfterPropertyChanged(value: System.EventHandler[Any]) None#

add_OnAfterPropertyChanged method.

DoubleProperty.add_OnBeforePropertyChanged(value: System.EventHandler[Any]) None#

add_OnBeforePropertyChanged method.

DoubleProperty.remove_OnAfterPropertyChanged(value: System.EventHandler[Any]) None#

remove_OnAfterPropertyChanged method.

DoubleProperty.remove_OnBeforePropertyChanged(value: System.EventHandler[Any]) None#

remove_OnBeforePropertyChanged method.