Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Status
Not open for further replies.

biw01

Automotive
Dec 31, 2011
152
0
0
US
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

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
 
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.
Back
Top