Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

NX Application from "Gateway" mode to "Modeling" mode using VB.NET

Status
Not open for further replies.

biw01

Automotive
Dec 31, 2011
152
How to change the NX Application from "Gateway" mode to "Modeling" mode using code?
I am having a assembly with some components in it.I wish to add a point in one of the component in the assembly using code.To Add the point i need to change the NX mode from "Gateway" to "Modeling" so that the point gets created.

Any idea how i can do that through code ?
 
Replies continue below

Recommended for you

I am using VB.NET code.I feel the AFAIK is for U-Func based developement (correct me if i am wrong)?
 
Just wondering if you ever found a way to switch to modeling using VB.NET code? I have been trying to figure this out for some time now..

Eric Roe
Electro-Mechanical Engineer
Airfloat LLC
 
NX 8 has been updated to allow some limited switching between applications via code; but if you are on NX 7.5 or below, there is no built in routine to switch applications.

 
Confirming that in 7.5 and below you cannot switch applications. Using the UF namespace you can access an attribute that is supposed to tell you which module you are in. However it always returns 0 if you are using an NXopen application. This is actually documented in the help if you dig down deep enough to the C++ wrapper docs.

Haven't gotten to try nx8 yet. We have our copy but I'm still not willing to make the switch until all the CNC programmers get it. No point in writing code for versions no one has yet :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor