Is there a function to upload a file to team center and place it under a part revision.

Hello.

I am looking for a way to automate from nx adding word documents and images under a parts revision in team center. Preferably I could specify the path of a local file and upload it under the currently displayed part. Has any one any experience with such things?

Currently, I do not work with a Teamcenter (TC) install so I do not have any examples of importing such documents. However, looking at the API reference, you may find some useful functions in the NXOpen.PDM -> FileManagement class.