Showing results for 
Search instead for 
Do you mean 
Reply

To get the information from opened drawing file in NX 7.5 using C++

Hello,

Can you please help me with this :

How to get the information about number of sheets  ,present assemblies and parts in the opened drawing file of NX 7.5 using C++ ? 

Also to write this information onto Excel Sheet using C++? 

 

Thanks and Regards,

Rupali.

 

1 REPLY

Re: To get the information from opened drawing file in NX 7.5 using C++

For all these issues you are posting about, there are a few places to look to find example code

 

1) Record a journal.  Note thru preference -> User interface you can set what language you want to record in (note NOT all languages can be played back)  Note that not all functionality is "journal-enabled".  And just because something is not journal enabled doesn't mean it can't be automated.

 

2) Look in the Siemens solutions database
https://solutions.industrysoftware.automation.siemens.com/

After starting your search (e.g. "create block" you can filter on the "nx_api" document type to filter to JUST api examples provided by GTAC)

 

3) look in the samples folder in your installation tree

%UGII_BASE_DIR%\UGOPEN\SampleNXOpenApplications

 

4) There are also other sites that may have some content:

http://nxjournaling.com/

http://www.eng-tips.com/

 

5) If you install documentation, note that the API docs MAY be a separate install (depends on exactly which NX version you're interested in)

 

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