Accessing the Previous and Next button from the Polyscope GUI using an external button

Dear all,

I want to use the ‘previous’ and ‘next’ button from the Polyscope interface using an external button.

Is there any API or any other way available to access these options?

Thank you in advance.

The Previous and Next buttons are not mapped to any I/O’s.
But I am wondering for what use case you want to achieve this?

Thank you for your response.

The application is to generate move nodes and urcaps with the help of external buttons which is attached to the Robot Arm.
The use case is to navigate through the Program sequence to create the required nodes in respective places.

If not mapped to any I/O’s then is there any workaround to achieve this functionality?

Thank you, in advance.