Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Add an file to existing ITEM/REV

Hi All,

 

I am more on customization side of Teamcenter and NX.

I would like to know whether a user can add a text file to an already existing ITEM/REV in teamcenter.

 

Is there some kind of utility or a script which can do this operation.

Regards,
Santosh
6 REPLIES

Re: Add an file to existing ITEM/REV

The steps to do this interactively from the rich or web client are as follows:

 

  1. select the item or item revision
  2. select file => new => document
  3. select the appropriate document type
  4. fill in the appropriate fields
  5. select import from the dialog
  6. browse to the file you need to add
  7. finish the dialog

It should be fairly simple.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
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
Solution
Solution
Accepted by topic author santosh0114
‎09-23-2015 08:19 AM

Re: Add an file to existing ITEM/REV

Hi,

 

With utility you can import datasets, for eg

start TC prompt

import_file -u=*** -p=*** -g=*** -f=filename -type=text(Check realname in BMIDE) -d=datasetname -item=item_id -relationType=(could be set by preferences for default relation) -revision=ItemRevision_id 

 

Hope this works.

 

You could also use PLMXML export/import. Define a transfer mode and a closure rule to import datasets.

Select Item or Item revision: Tools->Import->from PLMXML and select your transfermode to import datasets.

 

On a bulk import use import_file and make a .cmd to import n number of datasets. (please make sure of Item_id and Item_revision_id are not wrong)

 

regards,

Srinidhi

Re: Add an file to existing ITEM/REV

I have a lot of file which has to be imported to respective ITEM/REV. Thats the reason i asked if there is any utility.

 

Even if available using UGManager, or NXOpen program i am fine. I can do that.

Just don't know where to get started.

Regards,
Santosh

Re: Add an file to existing ITEM/REV

This is good.
Just out of curiosity, Is there any utility on UGmanager side ?
Regards,
Santosh

Re: Add an file to existing ITEM/REV

The OOTB utilities dont have such utility. As i said you could create yourown cmd file and call it in TC-prompt.

 

Secondly you can design your own utility with the help of UGManager source code. create custom exe for bulk import.

 

Regards,

Srinidhi

Re: Add an file to existing ITEM/REV

OK. Thank you
Regards,
Santosh