Skip to main content
1-Visitor
November 13, 2015
Solved

Putting a .txt file into Relations

  • November 13, 2015
  • 2 replies
  • 2429 views

I like to keep a Notpad window open when I'm working to keep all my Relations info handy (I'm lazy and fingers never leave the the Ctrl C or V keys) but it would be nice to be able to have my Relations read from that .txt file and that way the same relations could be read throughout multiple parts. Or is there any easier way to do this? I'm pretty new to this slightly more advanced stuff.

Thanks Guys!


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by BenLoosli

If the changes are the same for all existing parts, write a mapkey or use ModelCheck.

If the changes are for all parts going forward, modify the start_part template.

If you have multiple options of relations needed for different part types, use multiple start_parts or a common start_part and mapkeys.

There is no way currently that Creo can read the contents of a text file and paste them in the relations editor automatically. Cut and Paste manually is your best bet short of a keystroke recorder at the OS level.

2 replies

23-Emerald III
November 13, 2015

If you have relations that you use in every part, put them in your start part template file. No copy/paste needed.

ckirsch1-VisitorAuthor
1-Visitor
November 14, 2015

Well my idea was that I would be able to change the the relations of all the parts from a notepad window that I kept open and would save each time I made a change and then just regen all the parts. I have all the parts using the same template now, I just want to be able to change those global relations without having the template open 

BenLoosli23-Emerald IIIAnswer
23-Emerald III
November 16, 2015

If the changes are the same for all existing parts, write a mapkey or use ModelCheck.

If the changes are for all parts going forward, modify the start_part template.

If you have multiple options of relations needed for different part types, use multiple start_parts or a common start_part and mapkeys.

There is no way currently that Creo can read the contents of a text file and paste them in the relations editor automatically. Cut and Paste manually is your best bet short of a keystroke recorder at the OS level.

12-Amethyst
November 13, 2015

In addition to Ben's start part template suggestion, ModelCHECK can also add relations to your part or assembly.