ExpressionProperty#

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

Bases: object

Provides a way to create properties that can hold expressions.

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.

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.

Name

The name of the property.

Owner

Owner 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.

Value

The stored value of the property.

ValueString

Get the string representation of the value.

Property detail#

property ExpressionProperty.Access: Ansys.Common.Interop.WBPropertyBrowsing.AnsPropertyAccess | None#

Access property.

property ExpressionProperty.DisplayName: str | None#

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

property ExpressionProperty.GroupName: str | None#

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

property ExpressionProperty.ID: int | None#

ID property.

property ExpressionProperty.Name: str | None#

The name of the property.

property ExpressionProperty.Owner: Any | None#

Owner property.

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

PropertyControl property.

property ExpressionProperty.ReadOnly: bool | None#

Returns whether a property is readonly.

property ExpressionProperty.Tag: Any | None#

Tag property.

property ExpressionProperty.Tooltip: str | None#

The tooltip of the property in the UI.

property ExpressionProperty.Type: System.UInt16 | None#

Type property.

property ExpressionProperty.Valid: bool | None#

Returns whether a property is valid.

property ExpressionProperty.Value: Any | None#

The stored value of the property.

property ExpressionProperty.ValueString: str | None#

Get the string representation of the value.

Method detail#

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

CopyFrom method.

ExpressionProperty.Equals(obj: Any) bool#

Equals method.

ExpressionProperty.GetHashCode() int#

GetHashCode method.

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

GetObjectData method.

ExpressionProperty.GetType() type#

GetType method.

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

Resume method.

ExpressionProperty.ToString() str#

ToString method.

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

add_OnAfterPropertyChanged method.

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

add_OnBeforePropertyChanged method.

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

remove_OnAfterPropertyChanged method.

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

remove_OnBeforePropertyChanged method.