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

Get station path

#1
Hello, 
I have some troubles to get the station path. Following documentation, here what should work :
Code:
import robodk.robolink as RDK
rdkCell = RDK.Robolink()
sRDKCellPath = ..\..\..\cellname.rdk
rdkCell.AddFile(sRDKCellPath)
sPathRdk = rdkCell.getParam('PATH_OPENSTATION')

The station is opening without any issue.

Here the answer :
Code:
sPathRdk = b''

I tried to save the station before getting the path, but same answer from getParam...

Thank you !
#2
Are you using the latest version of RoboDK and the API?
What do you see in Tools-Options-Station?

There should be a station parameter with the correct path to your current RoboDK project.
  




Users browsing this thread:
1 Guest(s)