OptionsProperty
#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Mechanical.AdditionalProperties.OptionsProperty#
Bases:
object
Provides a way to create properties that show up as a drop down in the UI.
Overview#
|
Options shown in the drop-down, represented by a dictionary of int -> string. |
|
The name of the property. |
|
The name of the property shown in the UI. If not set, the Name property is used. |
|
The group name of the property shown in the UI, and used to separate properties based on group name. |
|
The tooltip of the property in the UI. |
|
The stored value of the property. |
|
Get the string representation of the value. |
|
Returns whether a property is readonly. |
Property detail#
- property OptionsProperty.Options: System.Collections.Generic.IDictionary[System.Object, System.Object] | None
Options shown in the drop-down, represented by a dictionary of int -> string. Where the int represents the option, and string represents string shown in the UI. When an option is selected the Value property of the property is set to to the option int.
- property OptionsProperty.Name: System.String | None
The name of the property.
- property OptionsProperty.DisplayName: System.String | None
The name of the property shown in the UI. If not set, the Name property is used.
- property OptionsProperty.GroupName: System.String | None
The group name of the property shown in the UI, and used to separate properties based on group name.
- property OptionsProperty.Tooltip: System.String | None
The tooltip of the property in the UI.
- property OptionsProperty.Value: System.Object | None
The stored value of the property.
- property OptionsProperty.ValueString: System.String | None
Get the string representation of the value.
- property OptionsProperty.ReadOnly: System.Boolean | None
Returns whether a property is readonly.