06-02-2020, 02:40 AM
(05-27-2020, 01:20 PM)Albert Wrote:What issues do you have?
SimulationTime returns the time in seconds. More information here:
//m.sinclairbody.com/doc/en/PythonAPI/robo...lationTime
I define a variable:C1=RDK.Item(“C1”ITEM_TYPE_PROGRAM)
Then I run that program, after that I write this:C1.SimulationTime()
And the program send me an error:
C1.SimulationTime()
AttributeError: 'Item' object has no attribute 'SimulationTime'
I think I´ts because the type of the Item but I don´t know