Cancel
Showing results for 
Search instead for 
Did you mean: 

Change the same parameter in multiple operations

Experimenter
Experimenter

Is there any way to change the same parameter in multiple operations?

 

For example I have five cavity_mill operations and I want to change in all of them the depth per cut?

7 REPLIES

Re: Change the same parameter in multiple operations

Valued Contributor
Valued Contributor

Hello!

 

I think the only thing would be to write an API. In NXCAM I don't know a way.

 

Werner

Re: Change the same parameter in multiple operations

Esteemed Contributor
Esteemed Contributor

There are some example journals in the NX install tree (...\UGOPEN\SampleNXOpenApplications\.NET\CAM\...) that may be a good starting point.

 

Also look on UGanswer (https://solutions.industrysoftware.automation.siemens.com/adv_search.php)

 

You should be able to journal this

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Re: Change the same parameter in multiple operations

Genius
Genius

Hello ctes,

 

I don´t have NX here, but maybe you could use the Copy/Paste with Reference mechanism. Depending on your use case, this could be a solution.

 

Best wishes,
Joachim

In production NX 11.0.2 MP1 D1
In testing NX 12

Re: Change the same parameter in multiple operations


ctes wrote:

Is there any way to change the same parameter in multiple operations?

 

For example I have five cavity_mill operations and I want to change in all of them the depth per cut?


If it's a parameter you can inherit, then take advantage of the method parents.

 

If it's not inheritable, and the operations are already created, a journal is the best way.

 

  1. Select ONE operation
  2. Journal > Record
  3. MB3 > Edit
  4. Change the depth per cut
  5. OK
  6. Journal > Stop Recording.
  7. Select another operation of the same type
  8. Journal > Play

Repeat 7 and 8 for each operation that gets the same edit.

 

It's that easy. If you do this a lot, you can modify the journal, for example, to allow selection of multiple operations, or prompt the user for the new depth per cut.

 

Mark Rief
Retired Siemens

Re: Change the same parameter in multiple operations

Legend
Legend

How do you edit it to allow multiple operations to be affected ?

 

NX11.0.1

Re: Change the same parameter in multiple operations

Genius
Genius

Hi Dstryr,

 

I just checked in NX10.0.1. Copy Paste with Reference just works if you have a different Workpiece. It seems not to be possible

 

CopyPaste_with_Reference.JPG

As you can see in the image using copy paste with reference does not work within the same workpiece.

 

Sorry.

Best wishes,
Joachim

In production NX 11.0.2 MP1 D1
In testing NX 12

Re: Change the same parameter in multiple operations


Dstryr wrote:

How do you edit it to allow multiple operations to be affected ?

 


The basic approach is to start with one of our sample journals, and modify it by pasting in the commands from a journal you record.

 

Start by looking at the samples in UGOPEN\SampleNXOpenApplications\.NET\CAM that have "OntSelection" in their name. You can run some of these as is to see how they work.

 

I did a Tech Tip that shows the process - Learn to use journals in NX CAM

 

Mark Rief
Retired Siemens

Learn online





Solution Information