Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Add program code

#2
You can useRunInstructionto add program calls and customized code in your program.

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


Messages In This Thread
Add program code - byivanmatskevich- 01-30-2020, 07:29 AM
RE: Global parameters - byAlbert- 01-31-2020, 10:49点



Users browsing this thread:
1 Guest(s)