Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

UDE managing in a program (VB)

Status
Not open for further replies.

Thierry SEGUI

New member
May 28, 2021
12
Hi all,
In the manufacturing environnement of NX, I would like to add, destroy and modify start UDEs of a program.

In the example below, I'd like to change "DISPLY/PART NAME = FLANGE" into "DISPLY/PART NAME = FITTING"
Capture_m6mrbx.jpg

=> If I find a start UDE that contains "DISPLY/PART NAME = " then I modify it.
=> If I don't find that UDE, then I create it, and edit the command line "DISPLY/PART NAME = FITTING".

Is it even possible in a VB journal ?

Thierry
 
Replies continue below

Recommended for you

So far, I can get the program (CAMObject) from the list of programs (NCGroup). But now I'm stuck : I found some intresting things in the NXOpen class librairy, but I don't know at all how to implement them :
NXOpen.CAM.Ude / UdeList / UdeSet (…) classes look promising, don't they ?
 
The base for NXOpen.CAM.Ude is an NXOpen.TaggedObject.
You can use : NXOpen.Utilities.NXObjectManager.Get(yourcamobjTag) to get this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor