01-25-2016 12:50 AM
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?
01-25-2016 01:23 AM
Hello!
I think the only thing would be to write an API. In NXCAM I don't know a way.
Werner
01-25-2016 09:50 AM
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
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled
01-25-2016 02:54 PM
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.
01-25-2016 05:01 PM - edited 01-25-2016 05:04 PM
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.
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.
01-25-2016 10:46 PM
How do you edit it to allow multiple operations to be affected ?
01-26-2016 03:27 AM
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
As you can see in the image using copy paste with reference does not work within the same workpiece.
Sorry.
01-27-2016 04:05 PM
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