cancel
Showing results for 
Search instead for 
Did you mean: 

how to get info from application status bar when a ITxRoboticLocationOperation is set current.

Experimenter
Experimenter

Hi, dear all

how can I get info from application status bar when an  ITxRoboticLocationOperation is set current operation. I want to retrive the whole info constantly when the robot is moving from one loc to another.

QQ图片20170107092552.png

1 REPLY

Re: how to get info from application status bar when a ITxRoboticLocationOperation is set current.

Hi KongCQ,

 

I would suggest to use the events fired by the TxSimulationPlayer class rather than the text of the StatusBar.

 

Documentation:

At any given moment there is a single, current simulation player, with which all simulation-related commands and viewers work. To get the current simulation player, use the TxApplication.ActiveDocument.SimulationPlayer property.

 

Event examples:

OperationStartedForward

Started

Ended

 

For further events please check the documentation.

 

Andreas