12-21-2023, 10:52 PM
The Python API has `robolink.Robolink.Selection` and `robolink.Robolink.setSelection` for interacting with the currently-selected items. Would it be possible to expose an analogous function in the C API?
`RoboDK_getItemList`is a good example of a similar function.
`RoboDK_getItemList`is a good example of a similar function.
Code:
// example structure
void RoboDK_getSelection(struct RoboDK_t *inst, struct Item_t *itemlist, int32_t itemlist_maxsize, int32_t *itemlist_sizeout);
void RoboDK_setSelection(struct RoboDK_t *inst, struct Item_t *itemlist, int32_t itemlist_size);