×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Refile Only one input allowed

Refile Only one input allowed

Refile Only one input allowed

(OP)
thread561-335335: refile_part utility

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?



RE: Refile Only one input allowed

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.

RE: Refile Only one input allowed

(OP)
Hi John. That worked - thanks for your help!!!!!

RE: Refile Only one input allowed

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

RE: Refile Only one input allowed

Since you are using the directory option (-d), eliminate the *.prt input. It knows to look for part files.

www.nxjournaling.com

RE: Refile Only one input allowed

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources