12-13-2018, 04:11 AM
Hello,
Is it possible to add simulation events to a program from the Python API?
e.g.
sorter_tray_manipulate = RDK.Item('sorter_tray_manipulate')
sorting_destination_frame = RDK.Item('sorting_destination_frame')
prog=RDK.AddProgram('New_Program')
prog.AddSimualtionEvent(type=EVENT_TYPE_ATTACH, tcp=sorter_tray_manipulate)
prog.AddSimualtionEvent(type=EVENT_TYPE_DETACH_ALL, attach_frame=sorting_destination_frame)
Is it possible to add simulation events to a program from the Python API?
e.g.
sorter_tray_manipulate = RDK.Item('sorter_tray_manipulate')
sorting_destination_frame = RDK.Item('sorting_destination_frame')
prog=RDK.AddProgram('New_Program')
prog.AddSimualtionEvent(type=EVENT_TYPE_ATTACH, tcp=sorter_tray_manipulate)
prog.AddSimualtionEvent(type=EVENT_TYPE_DETACH_ALL, attach_frame=sorting_destination_frame)