My customer has listed data coming from ERP like below
The item created needs to be "16_2510893.prt" and I want all to be created in that list.
the other columns are attributes that the user needs to fill in and if this also could be done automatically, that'd be great.
What do you think is the best way?
The best would be to create a custom NX customization, since you can set part attributes before you save the parts.
Another way would be to create a clone import, which is best suited for existing data that has all attributes set already.
Creating parts in NX is the best way, so a utility run as a managed session is the best.
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk Testing: NX11.0 EAP, NX12.0 EAP
How to Get the Most from Your Signature in the Community
Look at the utility ps_upload. It will let you submit files and create items and/or imprecies structure in Teamcenter.
Items from the text file not created while running ps_upload utility
Running ps_upload utility from teamcenter command prompt
Text file :
#COL item name level seq type rev
........TC_BIN>ps_upload –u=infodba –p=infodba –g=dba –c=Item –i=file path
Input From Standard Input<stdin> // stopped working after this line
Change your delimiter to something that batch scripting won't get confused by. The tilde (~) is a good choice but still may be used in a description someplace and parse where you don't expect it. Some utils except double chars as a delimiter and the usage of ~~ is not normal in a description. Check if you can double the delimiter for better results.
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3