Skip to main content
12-Amethyst
November 8, 2024
Solved

How to run siemens NX command line utility on Workspace data?

  • November 8, 2024
  • 1 reply
  • 1279 views

Version: Windchill 13.0

 

Use Case: I want to run the Siemens NX part_utility command on everything in my workspace.


Description:

I want to run the Siemens NX part_utility command on everything in my workspace, specifically "part_utility -managed_mode=no -d -cleanup".  This will do a part cleanup on every .prt file in the workspace directory. 

 

It won't run in the PTC Places folder, since it's not a real directory, but navigating to the actual .wfs folder will allow the utility to run.  The problem is, Windchill doesn't see the files as modified, to allow me to check them in, even though the file date/time has been updated.

 

What is the proper way to run these utilities on Windchill data in the workspace?  or do I have to export all of the data out, run the utility, and then import it all back into workspace?

Best answer by Hari_Vara

Hi Dave,

Working on files that are stored in WFS will corrupt them.

You can export, run the utility, then  Import them.

Windchill will override the workspace files with your processed files during import. You just need to say you are ok to do that in UI.

By this way you inject your processed file as the next iteration of the existing files in your workspace.

Let us know.

 

Cheers

Hari

1 reply

Hari_Vara16-PearlAnswer
16-Pearl
November 12, 2024

Hi Dave,

Working on files that are stored in WFS will corrupt them.

You can export, run the utility, then  Import them.

Windchill will override the workspace files with your processed files during import. You just need to say you are ok to do that in UI.

By this way you inject your processed file as the next iteration of the existing files in your workspace.

Let us know.

 

Cheers

Hari

Dave_K12-AmethystAuthor
12-Amethyst
November 12, 2024

Is this in the documentation someplace, I looked, but didn't find anything, which is why I asked here.  Seems like an important bit of information, if the command line utilities will corrupt files if run on them in your workspace.