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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Renaming EPM FIle Name using the Java API

jfelkins
12-Amethyst

Renaming EPM FIle Name using the Java API

Hello everyone

I am trying to rename many EPM Documents in PDMLink 9.1 using the Java API. I understand how to set the Name and Number of EPM Documents using the EPMDocumentMasterIdentity class but I am having problems renaming the EPM File Name (CAD Name). I am trying to use the code below.

empDocObject.setCADName(strNewName);

But I do not see a service class to execute.

I also tried the code below to rename the File Name but it is Deprecated. It works but it corrupts the EPM Document and Pro/E can not retrieve it.

wt.epm.EPMDocumentHelper.service.changeCADName((EPMDocumentMaster) docMaster, strNewName);

Anyone have any ideas? Thanks

0 REPLIES 0
Top Tags