Is it possible to cut a specific non-master part (PDF) in teamcenter with NXOpen?
After a save operation in NX we will create a PDF automatically in teamcenter (PrintPDFBuilder)
The name of this PDF is: ItemID_ItemRevID_ObjectName
So if the revision will be renamed NX will create a second PDF and doesn't overwrite the existing one.
1) Before the program creates the new PDF it should cut the old PDF, but I don't know if it is possible to cut relations in teamcenter with NXOpen.
2) Otherwise I must create a post-action in teamcenter that removes the old PDF
You can't do it with NXOpen but you can call SOA methods to do it from your NXOpen code. Maybe better solution than defining a postaction.
Yes, we distribute an example with NX. Have a look in this folder, wherever you have NX installed:
Note that it will make a new connection to the database. Be sure to have a close look at the "SOAConnectionExample_ReadMe.txt" file in that folder.