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

Show/Hide Simulation Event

#1
Is there a way to add a simulation event to a program via Python API that will hide/show an object?

I'm thinking about using something like the following but I don't know how to call the object and the action (show/hide):

Code:
ins_event_show ={“类型”:INS_TYPE_EVENT,”性能r': EVENT_SHOW, 'Item': robot}

program = RDK.Item('My_Program', ITEM_TYPE_PROGRAM)
program.setParam("Add", ins_event_show)

Any thoughts?


Messages In This Thread
Show/Hide Simulation Event - bySamuelEStreamline- 05-29-2023, 04:52 PM
RE: Show/Hide Simulation Event - byAlbert- 05-30-2023, 11:47 AM
RE: Show/Hide Simulation Event - byAlbert- 05-31-2023, 08:36 AM



Users browsing this thread:
1 Guest(s)