PropertyInfo#

class ansys.stk.core.stkutil.PropertyInfo#

Property Information coclass.

Overview#

get_value

Get the value of the property. Use PropertyType to determine the type to cast to.

set_value

Set the value of the property. Use PropertyType to determine the type to cast to.

name

Get the name of the property.

property_type

Get the type of property.

has_min

Determine if the property has a minimum value.

has_max

Determine if the property has a maximum value.

min

Get the minimum value of this property. Use PropertyType to determine the type to cast to.

max

Get the maximum value of this property. Use PropertyType to determine the type to cast to.

Import detail#

from ansys.stk.core.stkutil import PropertyInfo

Property detail#

property PropertyInfo.name: str#

Get the name of the property.

property PropertyInfo.property_type: PropertyInfoValueType#

Get the type of property.

property PropertyInfo.has_min: bool#

Determine if the property has a minimum value.

property PropertyInfo.has_max: bool#

Determine if the property has a maximum value.

property PropertyInfo.min: Any#

Get the minimum value of this property. Use PropertyType to determine the type to cast to.

property PropertyInfo.max: Any#

Get the maximum value of this property. Use PropertyType to determine the type to cast to.

Method detail#

PropertyInfo.get_value(self) Any#

Get the value of the property. Use PropertyType to determine the type to cast to.

Returns:

Any

PropertyInfo.set_value(self, property_info: Any) None#

Set the value of the property. Use PropertyType to determine the type to cast to.

Parameters:

property_info : Any

Returns:

None