Load and apply existing logfile in Clone or File import in teamcenter
Load and apply existing logfile in Clone or File import in teamcenter
(OP)
hi
I preparing a new script ( journal NX 8.5 , VB ) to import assemblys and part , created in NX native , into TC during the file assembly import to teamcenter command.
My source is a folder with the files and a Excel sheet with the relevant info about the parts and the new naming into Tc.
I have to decide which way to go . As I see ,there are 2 ways.
WAY No1:
one journal to :Create a clone.logfile and extract the relevant names and paths from the Excel and put in the clone.logfile -- one clone.logfile for each assembly or part .
one journal to :Run File assembly import in teamcenter and "Load and apply existing logfile" - this will populate the nessecary values and names -- for each clone.logfile.
WAY No2:
one journal to create the entire process - load the values and names from Excel sheet , and set all the parameters in ufs.Clone.******
I know that all clone operations must me written using the namespace userfunction.
I have a question to WAY No1. Are there a command to Load and apply existing logfile ?
I have a question to WAY No2. Have anyone here on the site tryed something similar this?
lklo
I preparing a new script ( journal NX 8.5 , VB ) to import assemblys and part , created in NX native , into TC during the file assembly import to teamcenter command.
My source is a folder with the files and a Excel sheet with the relevant info about the parts and the new naming into Tc.
I have to decide which way to go . As I see ,there are 2 ways.
WAY No1:
one journal to :Create a clone.logfile and extract the relevant names and paths from the Excel and put in the clone.logfile -- one clone.logfile for each assembly or part .
one journal to :Run File assembly import in teamcenter and "Load and apply existing logfile" - this will populate the nessecary values and names -- for each clone.logfile.
WAY No2:
one journal to create the entire process - load the values and names from Excel sheet , and set all the parameters in ufs.Clone.******
I know that all clone operations must me written using the namespace userfunction.
I have a question to WAY No1. Are there a command to Load and apply existing logfile ?
I have a question to WAY No2. Have anyone here on the site tryed something similar this?
lklo





RE: Load and apply existing logfile in Clone or File import in teamcenter
The best way I have found is to use %UGII_BASE_DIR%\Ugmanager\ug_import utility which runs in a CMD window and can read a clone.import file to organise part names, numbers and revision levels. I run this from a macro in Excel as this saves a lot of typing as you will need to include username, password, group, partnumber and clonefile on the command line.
You may encounter some problems if any of your parts use wavelinks as the referenced parts need to be acknowledged in the clone.import file. You would need to run %UGII_BASE_DIR%\UGII\ug_edit_part_names -list on each part to determine the referenced parts.
Mike
RE: Load and apply existing logfile in Clone or File import in teamcenter
Sorry I quoted the wrong program - it is %UGII_BASE_DIR%\Ugmanager\ugmanager_clone that I use.
Mike