Installed the NXtocgmdirect translator via tem and configured per dispatcher_server_translation_ref.pdf.
I can translate an NX drawing to cgm no problem. The cgm is attached as a child of the NX dataset with a relationship.
Next (per GTAC knowledge base) I changed the nxtocgmdirect.bat file from:
"%UGII_BASE_DIR%\Ugmanager\export_ugdwgimages.exe" -u -p -g -all -text=text %*
to
"%UGII_BASE_DIR%\Ugmanager\export_ugdwgimages.exe" -u -p -g -all -text=text -pdf %*
After translation, I get the cgm attached as before (as expected) but I do NOT get the PDF attached to the item revision. I DO get a pdf created and stored in the database matching the drawing name etc.
How do I change the relationship that it has created?
Solution
This is an NX preference, not Teamcenter.
This is located at File>Utilities>Customer Defaults>Gateway>PDF Export.
You can change Dataset Type, Named Reference Type, and Relation.
Notes and References
Hardware/Software Configuration
Platform: AMD64
OS: window
OS Version: 1064
Product: NX
Application: GATEWAY
Version: V12.0
Function: PDF
Ref: 001-6948883