•
|
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 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")
•
|
AddLiteral(newLiteral: string)
|
Add a new literal to the enum.
[Example]
myAttrib.AddLiteral("last") #Adds a new "last" literal to the end of myAttrib literal group. Not undoable!
|
|
set value for the attribute
|
Set a literal.
[Example]
myAttrib.SetValue("last")
Get the literal of enumerator
[Example]
enumValue = myAttrib.GetValue()
•
|
GetLiteralIndex(): integer
|
|
|
the index of the current literal within the literal group
|
Get index of literal of SetValue(..).
[Example]
current_index = myAttrib.GetLiteralIndex()
[Example]
myAttrib.SetReComputeEnterState( ENTERSTATE_COMPLETE )
•
|
GetReComputeEnterState(): Int
|
[Example]
reComputeEnterState = myAttrib.GetReComputeEnterState()
|