Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rename NX CAM operations

Status
Not open for further replies.

berri2

Mechanical
Apr 6, 2010
139
0
0
ES
Hi

I want to generate, a .VB program for renaming the CAM operations on NX.

I mean, if I have an operation, mill_workpiece and I copy it several times, mill_workpiece_copy,mill_workpiece_copy_copy etc.

I want to rename it as mill_workpiece_1, mill_workpiece_2 and mill_workpiece_3. I want to take out the _copy, copy_copy etc for the operations.

Thanks.

 
Replies continue below

Recommended for you

We provide a vb sample to rename multiple operations. This should be a great starting point for what you want to do.

Look for Take a look at the sample in your installation. Take a look at
UGOPEN\SampleNXOpenApplications\.NET\CAM\RenameOperationsOntSelection.vb



Mark Rief
Product Manager
Siemens PLM
 
Hi Mark,

Needs some customization, but looks pretty nice for renaming the

CAM strategies.

Thanks for the UGOPEN directory I didn't know it.
 
Hi,

How can I add a counter to rename X selected operations in NX tree?

I have tried to customize this code with no luck.

The point is that I want to rename directly selected operations,

for example 3 selected operations,

rough_mill_1,rough_mill_2,rough_mill_3 etc.

Enter counters an rename directly the NX CAM strategies.

I am not VB programmer.

Thanks.
 
The RenameOperationsOntSelection.vb works as it should. I want to select a group of tool paths (no matter what they are called) and name as Diag Cut 1, Diag Cut 2 ect?
I use NX for programming grinding paths. Each pass of the grinding wheel is another operation and I have hundreds of them.
 
Status
Not open for further replies.
Back
Top