Python scripting OLP - Objects

CENPyOlpAttributeString

Previous  Chapter  Next

 

Methods

 

SetOlpProperty(iOlpProperty: unsigned int)

 

o

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 )

 


 

GetVisibility(): bool

 

o

return

visibility status from attribute

 

Get visibility status of attribute.

 

[Example]

myAttrib.GetVisibility()

 


 

SetVisibility (visible: bool)

 

o

visible

visibility status to attribute

 

Set visibility status of attribute.

 

[Example]

myAttrib.SetVisibility(True)

 


 

GetName(): string

 

o

return

current name of the attribute

 

Get name of attribute.

 

[Example]

strNyAttribName = myAttrib.GetName()

 


 

SetName(name: string)

 

o

name

new name for the attribute

 

Set name of attribute.

 

[Example]

myAttrib.SetName("NewAttributeName")

 


 

SetString(value: string)

 

o

value

new value for the string attribute

 

[Example]

myAttrib.SetString("AttributeString")

 


 

GetString(): string

 

o

return

current  value of the string attribute

 

[Example]

attribString = myAttrib.GetString()

 


 

SetReComputeEnterState(reComputeEnterState: ReComputeEnterStates)

 

 

o

reComputeEnterState

Enter state of recompute triggered bu change of this attribute value. (see ReComputeEnterStates )

 

 

[Example]

myAttrib.SetReComputeEnterState( ENTERSTATE_COMPLETE )

 


 

GetReComputeEnterState(): Int

 

o

return

Enter state of recompute triggered bu change of this attribute value. (see ReComputeEnterStates )

 

 

[Example]

reComputeEnterState = myAttrib.GetReComputeEnterState()

 


 

 


Previous
Previous page
Chapter
Chapter page
Next
Next page