cancel
Showing results for 
Search instead for 
Did you mean: 

UDE and proc MOM_instance_operation_handler

Phenom
Phenom

I keep seeing the UDE "Instanced Operation Handler" and wondering what it is for.

 

There is no docs and a search of all the OOTB posts has no usage examples.

 

EVENT instance_operation_handler
{
   UI_LABEL "Instanced Operation Handler"

   PARAM handle_instanced_operations
   {
      TYPE o
      DEFVAL "ON"
      OPTIONS "ON","OFF"
      UI_LABEL "Handle"
   }
}

 

#===================================================
proc MOM_instance_operation_handler { } {
#===================================================
   global mom_handle_instanced_operations
}

 

I am hoping it would be for posting instanced operations to a subprogram and calling it automatically with a combination of coordinate rotation and work shift.

 

Is there any more info on what this is for?

10 REPLIES

Re: UDE and proc MOM_instance_operation_handler

This is a legacy proc that was used for testing some time ago.

 

I think our current direction is to do this using paste with reference.

Mark Rief
Retired Siemens

Re: UDE and proc MOM_instance_operation_handler

I am told told that to do subroutine programming based on instanced operations, you don't need a UDE. All of the information about the instances is available from mom already.

 

If I can get a sample, I will post it here.

Mark Rief
Retired Siemens

Re: UDE and proc MOM_instance_operation_handler

Phenom
Phenom

Thanks Mark would be appreciated.

My thinking on the UDE was more to enable and disable using subprogram output with shift and rotation.

Re: UDE and proc MOM_instance_operation_handler

Esteemed Contributor
Esteemed Contributor

How would you avoid a user forgetting to set the UDE appropriately?

 

I would do such things through a custom dialog to set a special flag variable that instructs the PP to handle the output correctly.

 

May be even have two simple Tcl files setting just the flag and sourcing the same PP in.

The separate Tcl scripts would be presented as separate posts in the dialog.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: UDE and proc MOM_instance_operation_handler

Phenom
Phenom

 

I was thinking of using UDE to switch instances as subprogram on and default to long hand output if not set.

 

The instance type ie translate, rotate or mirror would have to be checked.

 

Not sure if the control handles mirrored with coordinate rotation etc.

 

would have to error or ignore for cases not supported

 

On multi blade impellers & propellers surface contouring operations can get quite large. multi MB programs can overload machine memory and server space, Also proving programs etc can be more reliable is there is only one subprogram program. If the first instance works all the rest are golden.

 

 

We have processes to output 1 blade instance and use a loop on the control program to instance to the other blades.

 

However this creates problems with collision checking, IPW etc as the other blades aren't machined in UG.

 

Looking for a best of both world approach.

 

ie: have the instances in UG for IPW etc but only post individual sub programs.

 

 

 

 

Re: UDE and proc MOM_instance_operation_handler

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

I discovered this about 6 years ago when I had the pleasure of meeting Stan Suderman in Cyprus.  He was involved in the development of it and he told me how it works.

 

If you are milling or drilling in 3+2 mode with a rotated, local MCS (purpose CSYS Rotation) and then if you instance the operations under that local MCS, you would simply add the UDE to that MCS object.  The case I needed it for involved about 110 instances rotated around the base of a bucket mold.  It posted out perfectly and the effort level for the programmer is virtually zero.  Better yet, the effort level for the post builder person is also virtually zero.Smiley Happy

 

The copy with reference method is the newer way to accomplish the same but I still like the UDE.

 

Hope this helps.

George

 

George Bennett
All NX versions
W7 Ultimate
Dell Precision M6700
Spirit of Innovation

Re: UDE and proc MOM_instance_operation_handler

Phenom
Phenom

Mark or George

 

Any chance of an example?

 

regards

 

Alex

NX4.0.4.2MP10 & NX9.0.3.4 production

NX10 testing

Re: UDE and proc MOM_instance_operation_handler


agrivas wrote:

Mark or George

 

Any chance of an example?

 

regards

 

Alex

NX4.0.4.2MP10 & NX9.0.3.4 production

NX10 testing


For turbomachinery, there is a sample OOTB. In this case, the infro comes from the MULTI_BLADE_GEOM group.

  • Menu > Help > Manufacturing Tutorials > Open a Sample Part > cam_sample_impeller_with_splitter_mm.prt
  • Select PROGRAM, and post with MILL_5_AXIS_SINUMERIK_ACTT_MM

 

I am still asking about a sample for paste with reference or instances.

 

 

Mark Rief
Retired Siemens

Re: UDE and proc MOM_instance_operation_handler

Attached is a sample post that will create subroutines for the instanced operations in the part provided. This should get you going :*)

 

Mark Rief
Retired Siemens

Learn online





Solution Information