×
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

Scan directory and give which part are inch
2

Scan directory and give which part are inch

Scan directory and give which part are inch

(OP)
Hi,
someone has a journal that scan a directory and give as result the file name where the part is in inch ?

Thank you...

Using NX 8 and TC9.1

RE: Scan directory and give which part are inch

It wouldn't take much effort to create something using the 'ug_inspect.exe' utility that you can find in the UGII folder of your NX install.

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: Scan directory and give which part are inch

Cubalibre00,

Here is a "one-liner" that can be run from the "NX Tools, Command Prompt".

CODE --> NX_CMD_dos

for %i in (*.prt) do @("%UGII_BASE_DIR%\ugii\ug_inspect" "%i" | findstr /c:"Part units: Inches" > nul && echo %i) 

Here is an NX Customize "System Command" that can be added to a tool bar.

CODE --> NX_Customize

start "inch parts" cmd  /k "for %i in (z:\*.prt) do @("%UGII_BASE_DIR%\ugii\ug_inspect" "%i" | findstr /c:"Part units: Inches" > nul && echo "%i")" 

HTH, Joe

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