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

Merging the code of subprogram in the main program

#4
There's a way to do this, but it will require a bit more Python coding.
You will need to create a Python program that modifies the content of the Point Follow Project program every time you reach your srm1 program call. In fact, you need to replace your srm1 with it's actual content (that could be done directly in the srm1 python script).
Here's a basic example of how you can modify instructions in a program using Python://www.sinclairbody.com/doc/en/PythonAPI/exam...structions

Take a look and let me know what you think.
I did not open your station. I'm just answering based on your explanation as I'm a bit in a rush.

Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.




Messages In This Thread
RE: Merging the code of subprogram in the main program - byJeremy- 12-15-2021, 09:24 PM



Users browsing this thread:
1 Guest(s)