Posts: 61
Threads: 23
Joined: Feb 2019
              
Reputation:
              
0
              
              
              
              
             
            
             
             
              Hello!
              
Can anyone tell me how to integrate the Phyton Code into a robot program within the RoboDK environment.
              
Thanks and best regards.
              
Mitja
             
             
            
            
           
           
           
            
             
             
             
             
             
              Posts: 1,832
Threads: 2
Joined: Oct 2018
              
Reputation:
              
72
              
              
              
              
             
            
             
             
              Just to clarify, you created a Python script and you would like to launch it at a certain point in your RoboDK program?
              
If it's the case, make sure it's part of your RDK station (in your station tree) then in your RoboDK program, add a program call to that Python script.
              
Jeremy
             
             
            
            
           
           
           
            
             
             
             
             
             
              Posts: 61
Threads: 23
Joined: Feb 2019
              
Reputation:
              
0
              
              
              
              
             
            
             
             
              Hello!
              
We have no particular problem with this. The problem arises when we want to generate a program for a real robot controller (Generate Robot Program - F6). The SCRIPT file does not include Phyton content. We want to integrate the contents of a Python file into a robot program that will run on a real robot controller.
              
Thanks and best regards!
              
Mitja