•
|
SetOlpProperty(iOlpProperty: unsigned int)
|
|
|
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 from 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]
strNyAttribName = myAttrib.GetName()
|
|
new name for the attribute
|
Set name of attribute.
[Example]
myAttrib.SetName("NewAttributeName")
[Example]
myAttrib.SetReComputeEnterState( ENTERSTATE_COMPLETE )
•
|
GetReComputeEnterState(): Int
|
[Example]
reComputeEnterState = myAttrib.GetReComputeEnterState()
|
|
True if object is associated with valid OLP attribute, false if not
|
[Example]
check = attribGetter.GetAttributeByName("NewAttributeName")
if check.IsValid()
logging.LogDebug("NewAttributeName is valid attribute")
else:
logging.LogDebug("NewAttributeName does not exist in OLP")
|