Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Does anyone have an idea how to do a mass rename in PDMLink 9.1. For example rename all CAD Objects in specific folder.
Thank's and regards
Klaus
Klaus,
I'd do this with either Java or better yet an info*engine task composed of a fewwebjects.
If you are unfamilar with webjects let me know and I can help you with this.
the task should be composed of:
the following webjects types
Start-Session
Start-Transaction
Change-Identity (this does the renaming) this webject will find the objects based on type and where clause and also rename
Commit-Transation (this commits the renaming to the dB)
End-Session
If you are renaming all objects to same name the new name would be hardcoded into the Change-Idenity webject. If not, a little Java code can take care of this as long as there is logic to determine the new name.
Let me know if you need any help.
David
In Reply to Klaus Hellweger:
Does anyone have an idea how to do a mass rename in PDMLink 9.1. For example rename all CAD Objects in specific folder.
Thank's and regards
Klaus
Hi
I guess depending on the nature of the change, you could add those objects in your WS and do a mass rename there.
There is a functionality to apply the same rule to all selected objects.
Again it depends on how you want to mass rename.
Best regards