Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refile Only one input allowed 1

Status
Not open for further replies.

billjordan

Industrial
Joined
Jan 29, 2014
Messages
2
Location
CA
thread561-335335

Relating to above thread

To use the utility, you need to run it from a Command window. First enter the complete path of the program and then append the options. For example, if you wished to refile all the parts in a directory, including any sub-directories, as well as generating new lightweight representations based on the current defaults, the command line would look like:

<path where NX was installed>\UGII\refile_part -d -s -regen_lw_def_tol <pathname to the top directory from which you wish to start the refile>


******************

Command used

refile_part -d -s -regen_lw_def_tol U:\STANDARDS\MACHINERY_LIB\ANSI_Metric_bu

We are refiling the reuse library and have this error below when using the above command sample. We are moving from NX6.0 native to NX8.0 native. If we run the command with only the -d option it refiles the parts ok. If we try using only the -regen_lw_def_tol switch it also gives us an error.

Any thoughts?



 
Sorry, the example I posted in that old Eng-Tips post was not correct. The -d option needs to be placed immediately before the path to your folders. The following command line should work:

refile_part -s -regen_lw_def_tol -d U:\STANDARDS\MACHINERY_LIB\ANSI_Metric_bu

If there is no directory specified immediately after the -d option then it will look for part files in the current directory. This is why you got the error that you did since it was attempting to look in multiple places at once.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
Hi John. That worked - thanks for your help!!!!!
 
Hi,
I've used the string C:\Siemens\NX8\UGII>refile_part.exe *.prt -co -s -cleanup -regen_lw_def_tol -d \\XXX\XXXX\XXXXX\XXXXXX\XXXXXXXX but the same error like Bill

NX Part Conversion
---------------------------
Only one input allowed

Where I wrong ?

Thank you...

Using NX 8 and TC9.1
 
Made as suggested refile_part.exe -co -s –cleanup -regen_lw_def_tol –d \\XXXX\XXXX\XXXX\XXXX\Library, but nothing..same error

Thank you...

Using NX 8 and TC9.1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top