06-27-2025, 03:24 PM

hi Sir ,
Copy example from RoboDK API as attached onto PyCharm, then run the program
Weird! RoboDK has been opened successfully but without targeted Robot . Empty!
May I have your advise
thanks
John
Failed to retrieve the robot by name |
06-27-2025, 03:24 PM
![]() hi Sir , Copy example from RoboDK API as attached onto PyCharm, then run the program Weird! RoboDK has been opened successfully but without targeted Robot . Empty! May I have your advise thanks John
06-27-2025, 04:39 PM
Hi John,
Could you provide more information on what you are trying to accomplish, and also send us your .RDK project?
Best regards,
Jonathan Lambert Application Specialist ![]() ![]() ![]() (06-27-2025, 04:39 PM)Jonathan L Wrote: Hi John, hi Jonathan , I think that I missunderstood the way to manipulate the robot in RoboDK. I just copied sample codes and paste on Python then executed it without open up RoboDK I've learned that the right way is open up RoboDK and select ABB Robot manually, and add Python program in RoboDK then execute it Somehow I've encountered errors as attached thanks, John ![]() (06-27-2025, 04:39 PM)Jonathan L Wrote: Hi John,
You should properly use the full name of your robot in the RDK.Item command.
You can also use the ItemUserPick to popup a message to allow the user to choose the right robot: Code: robot = RDK.ItemUserPick('Choose a robot', ITEM_TYPE_ROBOT) Code: robot = RDK.Item('', ITEM_TYPE_ROBOT) |
Users browsing this thread: |
1 Guest(s) |