Skip to main content
14-Alexandrite
September 29, 2018
Question

Pro/program

  • September 29, 2018
  • 2 replies
  • 2167 views
I'm quite New in creo. But I'm trying to play a bit with Pro program. After this I missed so much CATIA. so easy to suppress and unsupress features by expression. But this isn't the point.

I have managed a file to play with expression and it supressing and unsupressing features. It was all OK, working as desired. Then I decided to create a new file, and by my mistake, I save it in another folder, but with the same name. With this new file I changed also the pro program, and it looks that this new file has delete the old one....

Isn't the pro program file located inside the prt file? If I send the prt file to other PC will pro program work?

Will Ptc arrange a way to make our parts "smarter" instead of doing this with pro program? It's really outdated and hard to work with....
This topic has been closed for replies.

2 replies

HamsterNL
18-Opal
October 1, 2018

The Pro/Program is located IN your part or assembly. So if you open that part on a different computer, you'll still have all the code.

 

strongly recommend using a PDM system, which can assure that you have unique filenames, so you don't end up with identical filenames in different folders.

 

As for Pro/Program, it's a super simple BASIC-like language. If you know IF...THEN..ELSE then you can programm with Pro/Program. Suppressing features is super easy, just enclose a feature (at part level) or a component (at assembly level) with an IF STATEMENT and you are good to go.

 

I would also recommend using Notepad++ as your editor. You can even define a language for Pro/Program, so your code will be a lot more easy to read/edit. Take a look at this post here.

14-Alexandrite
October 2, 2018

Hi!
I'm using Pro/Program a lot but main disadvantage is we lost Undo / Redo functionality UR.PNG Smiley Frustrated

I hope PTC soon will fix it...

BR,
Roman