Python scripting OLP - Objects

CENPyOlpAccuracyEvent

Previous  Chapter  Next

 

Methods

 

GetType(): BuiltInEventTypes

 

o

return

the type of the built-in event

[Example]   

   evType = event.GetType()

 


 

GetAccuracy(): float

 

o

return

the accuracy value

 

[Example]

   accuracy = event.GetAccuracy()

 


 

SetAccuracy(accuracy: float)

 

o

accuracy

the accuracy value

 

[Example]

   event.SetAccuracy(0.1)

 


 

GetPathType(): EventPathType

 

o

return

path type

 

Retrieve the path type that this event is for.

 

[Example]

   pathType = event.GetPathType()

 


 

SetPathType(pathType: EventPathType)

 

o

pathType

path type

 

Set the path type that this event is for.

 

[Example]

   event.SetPathType(EVENTPATHTYPE_POINTTOPOINT)

 


 

GetCriteria(): AccuracyCriteria

 

o

return

the accuracy criteria

 

Retrieve the accuracy criteria.

 

[Example]

   criteria = event.GetCriteria()

 


 

SetCriteria(criteria: AccuracyCriteria)

 

o

criteria

the accuracy criteria

 

Set the accuracy criteria.

 

[Example]

   event.SetCriteria(ACCURACY_OFF)

 

 


Previous
Previous page
Chapter
Chapter page
Next
Next page