01-31-2020, 10:49 PM
You can useRunInstructionto add program calls and customized code in your program.
Example:
More information and examples here:
//www.sinclairbody.com/doc/en/PythonAPI/robo...AddProgram
Example:
Code:
# Add a program call or specific code in the program:
program.RunInstruction('ChangeTool(2)',INSTRUCTION_CALL_PROGRAM)
program.RunInstruction('ChangeTool(2);',INSTRUCTION_INSERT_CODE)
More information and examples here:
//www.sinclairbody.com/doc/en/PythonAPI/robo...AddProgram