05-29-2023, 04:52 PM
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):
Any thoughts?
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?