cancel
Showing results for 
Search instead for 
Did you mean: 

How do I open part (External app - C++ )

Siemens Creator Siemens Creator
Siemens Creator

Hello all,
I've banged my head against this for a while and I'll like for a little help.  How do I
open a part ( C++ )?

 

For example, I want to create an external app, that will open a part file and will write to a TXT file the operations of every feature. 

 

(The project was opened using NX11 NXOpen C++ Wizard)

 

Thanks!

3 REPLIES

Re: How do I open part (External app - C++ )

Esteemed Contributor
Esteemed Contributor

In VB.NET this is the NXOpen.Session.GetSession().Parts.Open() method, there should be an equivalent in C++.

The GTAC solution center is likely to contain an example for that action.

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: How do I open part (External app - C++ )

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Session::GetSession()->Parts()->Open (const char * filename, NXOpen:Smiley TongueartLoadStatus**loadStatus)

 

Elias.

Re: How do I open part (External app - C++ )

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Session::GetSession()->Parts()->Open (const char * filename, PartLoadStatus**loadStatus)