Cancel
Showing results for 
Search instead for 
Did you mean: 

List (almost) all UDEs for selected CAM object

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Attached is a journal & test part. 

The journal should list (almost) all UDEs for the selected object (operation, group, geometry, tool, etc.).  This was tested in NX10 (part is NX10 as well)

 

The known ones it does NOT list:

- UDEs in "generic motion" sub-operations (I don't have a generic motion license so I can create an operation to test)
- UDEs attached to MILLING boundaries (i.e. planar mill operation)  - I don't they are supported in Common API until NX11?
- turning *local return* -  "In Path" events that are just "check boxes" (as opposed to IN-PATH "Start of path" and "end of path" UDEs)

 

Hope this is useful...

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


11 REPLIES 11

Re: List (almost) all UDEs for selected CAM object

Legend
Legend

Yes, VERY useful. In fact I was looking (thinking about) for something like this not long ago.

 

Thanks for sharing Ken

Re: List (almost) all UDEs for selected CAM object

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

I forgot to mention (it should be obvious if you look at the code, but...)

You can edit the "Function PrintUDE"  to list more or less info about each UDE (there's a lot of commented out stuff you can start with)

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


Re: List (almost) all UDEs for selected CAM object

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

I just figured out I forgot to add & debug the code for UDEs attached to turning boundary members (I recorded a journal of defining one, but never converted it)...

Stay tuned for some updates (as I get some time to do this)...

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


Highlighted

Re: List (almost) all UDEs for selected CAM object

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

OK, I fixed the turning boundary member issues.

In attached ZIP is an updated "List_Object_UDEs" (for the sleected object)

I also added "List_All_UDEs.vb" - this lists all UDEs (with above exceptions) for ALL objects in the current part

- Program order view - Operations & "folders"

- Other views - objects ONLY (NOT operations)

 

Useful to figure out "where did that user add the *&@#%^&! UDE???" :-)

 

Have fun!

Ken

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


Re: List (almost) all UDEs for selected CAM object

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Is there a list somewhere of EVERY place UDEs can be added to CAM objects / operations /whatever?

Just ran across another place (turning -> non-cutting moves -> approach & departure paths)

Obviously, my code does not support it (yet).

 

Ken

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


Re: List (almost) all UDEs for selected CAM object

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Added support for generic motion "control" sub-ops (now we have a license)

Only "List_All_UDEs.vb" has been updated

 

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


Re: List (almost) all UDEs for selected CAM object

Master
Master

@Ken_A wrote:

OK, I fixed the turning boundary member issues.

In attached ZIP is an updated "List_Object_UDEs" (for the sleected object)

I also added "List_All_UDEs.vb" - this lists all UDEs (with above exceptions) for ALL objects in the current part

- Program order view - Operations & "folders"

- Other views - objects ONLY (NOT operations)

 

Useful to figure out "where did that user add the *&@#%^&! UDE???" :-)

 

Have fun!

Ken


I remember when I was postbuilding and saying where in the #%#$@^ is that code coming from and where is the UDE called! Awesome job Ken

 

Shags72 Mfg. Eng.
Windows 10 Pro 64bit
NX 11.0.2.7 MP2 Teamcenter 11
Dell M7720 i7-6820HQ 16GB RAM,
NVIDIA Quadro P3000

Re: List (almost) all UDEs for selected CAM object

Valued Contributor
Valued Contributor

Outstanding work Ken...Thank you!

Kal.

 

 

NX 9.0.3.4 MP12 | PB 9.0.3.2 | NX11.0.2.7 MP13 | PB 11.0.2 | VERICUT 7.3.4

Re: List (almost) all UDEs for selected CAM object

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Thanks for all this staff, but it doesn't work on my computer.

see result file attached

Learn online





Solution Information