•
|
SetOlpProperty(unsigned int iOlpProperty)
|
|
|
OLP attribute use level. Is a bitmask and can be a combination of one ore more levels. (see Attribute use level )
|
Sets Olp Property of attribute.
[Example]
myAttrib.SetOlpProperty( USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE )
|
|
visibility status of the attribute
|
Get visibility status of attribute.
[Example]
myAttrib.GetVisibility()
•
|
SetVisibility (visible: bool)
|
|
|
visibility status to attribute
|
Set visibility status of attribute.
[Example]
myAttrib.SetVisibility(True)
|
|
current name of the attribute
|
Get name of attribute.
[Example]
strMyAttribName = myAttrib.GetName()
|
|
new name for the attribute
|
Set name of attribute.
[Example]
myAttrib.SetName('NewAttributeName')
|
|
new value for the attribute
|
Set double value of attribute.
[Example]
myAttrib.SetValue(22.22)
|
|
current value of the attribute
|
Get double value of attribute.
[Example]
myAttribVal = myAttrib.GetValue()
|
|
new minimum value for the attribute
|
Set minimal value for the attribute.
[Example]
myAttrib.SetMinimum(0.1)
|
|
current minimum value of the attribute
|
Get minimal value for the attribute.
[Example]
myAttribMin = myAttrib.GetMinimum()
|
|
new maximum value for the attribute
|
Set maximal value for the attribute.
[Example]
myAttrib.SetMaximum(100)
|
|
current maximum value of the attribute
|
Get maximal value for the attribute.
[Example]
myAttribMax = myAttrib.GetMaximum()
•
|
SetStepSize(step: float)
|
|
|
new step size for the attribute
|
Set step size for the attribute.
[Example]
myAttrib.SetStepSize(0.002)
|
|
current step size of the attribute
|
Get step size for the attribute.
[Example]
myAttribStep = myAttrib.GetStepSize()
[Example]
myAttrib.SetReComputeEnterState( ENTERSTATE_COMPLETE )
•
|
GetReComputeEnterState(): Int
|
[Example]
reComputeEnterState = myAttrib.GetReComputeEnterState()
|