Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Naming generated program
#1
I am trying to generate a Kuka program over the RDK API.
It is basically working with this script, but the issue I have is that I cant find a way to properly name my program.

Code:
from robolink import *
RDK = Robolink()

prog = RDK.Item('Robot paint', ITEM_TYPE_PROGRAM_PYTHON)

prog.RunProgram()

RDK.setRunMode(RUNMODE_MAKE_ROBOTPROG)

while prog.Busy():
pause(0.1)

print("Program done")

The program that is generated is always named: ProgKUKAKR6R900s.
I am using the RobotPaint example from RDK but I replaced the robot with Kukas agilus.


I hope somebody can tell me how to name my program, and let me know if this is even the proper way of generating the program over the API. All this is very new to me.

Thanks.


Messages In This Thread
Naming generated program - byKloper- 10-30-2020, 08:24 AM
RE: Naming generated program - byJeremy- 10-30-2020, 03:09 PM
RE: Naming generated program - byKloper- 10-30-2020, 04:05 PM
RE: Naming generated program - byJeremy- 10-30-2020, 06:16点



Users browsing this thread:
1 Guest(s)