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

Recalculating Targets

#1
I'm trying to generate robot programs from programs in my simulation. Manually, I must right-click on the program and click on "Recalculate targets" before clicking "Generate Robot Program". If I don't recalculate targets, the generated robot program does not have the correct targets. I would like to recalculate targets and generate robot program from the Python API (my simulation is generated from the API). I can generate the robot programs using the following:

Code:
program.MakeProgram(filepath, RUNMODE_MAKE_ROBOTPROG)

However, I have not found a method for recalculating targets before generating the program.

I tried:
Code:
program.Update()

But this still did not write the correct targets to the generated program. Has anyone been able to resolve this issue?

Thank you


Messages In This Thread
Recalculating Targets - bySamuelEStreamline- 06-30-2022, 05:31 PM
RE: Recalculating Targets - bySam- 06-30-2022, 05:54 PM
RE: Recalculating Targets - bySamuelEStreamline- 06-30-2022, 06:24 PM
RE: Recalculating Targets - bySam——07-01-2022 10:58



Users browsing this thread:
1 Guest(s)