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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Renaming EPM FIle Name using the Java API

jfelkins
13-Aquamarine

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
Announcements


Top Tags