cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

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

Dave_K
8-Gravel

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

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?

NX 2206 (production) NX 2306 (testing)
Windchill WGM 12.1 and 13.0.2
ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

2 REPLIES 2

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

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.

NX 2206 (production) NX 2306 (testing)
Windchill WGM 12.1 and 13.0.2
Announcements


Top Tags