Python scripting - Objects

CENPyOlpAccuracyEvent

 

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
Page précédente
Chapter
Page principale du chapitre
Next
Page suivante