hexagon logo

How to open a python script in pcdmis?

I've got a couple basic scripts running on our programs and you simply go to INSERT > BASIC SCRIPT and chose the .bas file. But it won't let me choose a python file .py.
I tried external command and that doesn't work and I've tried INSERT > FILE I/O COMMAND > FILE OPEN, but when I run the program it runs the program without doing anything inside the python script.

How were those running some python scripts here actually getting pcdmis to open the python script?

Thanks.

Parents Reply
  • I'm not the most educated programmer, but I do know how to write some decent python programs....I'm trying to get a variable from the CMM and then send it back after changing it. Are you saying that the CMM variables somehow become Environment Variables just because you import the os module? I don't understand that.
Children
No Data