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 ?
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
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
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