Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

How can I use the command SimulationTime()?

#3
(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


Messages In This Thread
RE: How can I use the command SimulationTime()? - bywill27- 06-02-2020, 02:40 AM



Users browsing this thread:
1 Guest(s)