Document name, File name and Description change on several thousand files

Hi all!

PW SDK 08.11.07.443

I have been requested to rename certain specific files that were imported into the ProjectWise system over a year ago.

The scenario is this:

Only files matching a specific file name format of "50XXXXXXXX.dgn" will be processed. The same text string was used for the document name and description by default when the files were bulk loaded.

The new file name, document name and description format needs to be "550-XXXXX-XXX.dgn"

I noticed that the only function calls I found in the PW SDK to rename a document are "dialog" functions. I want to run my program against small groups of docs, on a folder by folder basis, but I don't want to have user input. Are there any other functions to rename a doc or does the "aaApi_RenameDocumentDlg " not require user input?

While it is my intention to only change the doc name, file name and description (not the GUIID), are there any "gotcha's" I should watch out for?

Are there any code examples/samples of the use of the "aaApi_RenameDocumentDlg" function call available?

Thanks and Merry Christmas!

Regards,

Bert