cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Mass rename of EPMDoc in 9.1M050

cc-2
12-Amethyst

Mass rename of EPMDoc in 9.1M050

Hello

I cannot find anywhere where I can do a mass rename of independent EPMdocuments.
In the Workspace, there is a mass action Rename but it only works for newly created objects (ie object which have not yet been checked in).
I need to rename about 300 2D drawings (with their models and WTparts) but most of them are completely independent so the collector will not work.
I can do a search and get them all in my search results but then I cannot go further, unless I rename them one by one (with the few dependency each one will have).

Thank you in anticipation for any tips

Best regards

4 REPLIES 4
avillanueva
22-Sapphire II
(To:cc-2)

The only way I've done this is with a custom program fed from a text
file containing the cad doc numbers and a new name. How comfortable are
with Java and the Windchill API?


lokanand
1-Visitor
(To:cc-2)

Hi

We are looking to rename Name, Number & File for CAD Document for the migrated documents (Migrated from pro/intralink few months back). Number of objects to be renames over 100,000.

1. Does it have any impactif we rename?

2. Do you have a program to do that ?

3. What would be the overall time line based on your experince.

Any help in this reagard would be really appriciated.

jkent
12-Amethyst
(To:cc-2)

You can do this using the Windchill API. We have done it by reading a
csv file of "old_name","new_name". Of course you still have to generate
the csv file of names which could take a while with 100,000 objects.


ptc-568593
1-Visitor
(To:cc-2)

Dear Kent,

We have done this in the past using a small Java program, which is really quite easy to write (I will try to dig out the one we used if you want it). It was only 50 lines of code and ran in less than 20 minutes on a similar number of documents.
The only complication is what you want to rename it to? As far as I remember our version was syncing the name and number so needed no external input.

As far as we know all Windchill references are using the internal oid so there should be no affect on CAD structures, part references etc. but these kind of changes always involve an element of risk. Interested to know if anyone else knows of any hidden dangers, we were updating the EPMDocumentMaster.

Best Regards,
Simon


Announcements


Top Tags