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

Merging the code of subprogram in the main program

#2
Make sure to rename your subprogram to srm1. On the other hand, this feature does not work with Python subprograms.

If you want to embed a Python subprogram, a workaround could be to follow these steps:
  1. Use the Quine post processor and generate the Python program (srm1). This will output a Python program.
  2. Execute the Python program that was generated. This will create a new program in your RoboDK project.
  3. Generate the parent program once you have the srm1 program in your project.
If you can provide us with the RoboDK project we can help you better.


Messages In This Thread
RE: Merging the code of subprogram in the main program - byAlbert- 12-14-2021, 01:22 PM



Users browsing this thread:
1 Guest(s)