cancel
Showing results for 
Search instead for 
Did you mean: 

External NXOpen API for Extracting Notes from Drawing file using C Language

Pioneer
Pioneer

Hi,

 

I am looking for API in NXOPEN(C Language) to extract Notes from Drawing (Associated to Views and also not associated).

 

I found the same API in C#. Can anybody help me find the same in C Language, as i would be using the same with UGMANAGER in connected mode with TeamCenter.

 

Thanks..

Regards,
Santosh
12 REPLIES

Re: External NXOpen API for Extracting Notes from Drawing file using C Language

Esteemed Contributor
Esteemed Contributor

What API function have you found?

 

If you are running in NX, you are not forced to use the old ANSI C language in managed mode.

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: External NXOpen API for Extracting Notes from Drawing file using C Language

Pioneer
Pioneer
I have found that the Parts namespace has the members to access NoteCollection and extract the text.

I am not sure what managed means, but i am not opening NX application. i.e., External program
Regards,
Santosh

Re: External NXOpen API for Extracting Notes from Drawing file using C Language

Esteemed Contributor
Esteemed Contributor

You mentioned UGmanager, which implies managed mode and not native Smiley Wink

 

You can build a .NET external application, which is the current preferred way of creating NXOpen executables.

 

Using the ancient NXOpen C API will force you to compile separate executables for 32-bit and 64-bit platforms.

.NET allows to compile executables independent from the platform.

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: External NXOpen API for Extracting Notes from Drawing file using C Language

Pioneer
Pioneer

Can you provide an example with UGManager.

Regards,
Santosh

Re: External NXOpen API for Extracting Notes from Drawing file using C Language

Esteemed Contributor
Esteemed Contributor

See Sample NX Open .NET Visual Basic program : open part in native or nxmanager batch mode for an example.

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: External NXOpen API for Extracting Notes from Drawing file using C Language

Pioneer
Pioneer

Hi Stefan,

 

Can you also please send me a link to compile and link these kind of programs.

I compile C programs using the steps mentioned in this link.

 

Thanks & Regards

Santosh

Regards,
Santosh

Re: External NXOpen API for Extracting Notes from Drawing file using C Language

Phenom
Phenom

Re: External NXOpen API for Extracting Notes from Drawing file using C Language

Esteemed Contributor
Esteemed Contributor

Start with the NXOpen Programming Tools Help and go to NXOpen Programmers Guide => Creating NXOpen Automation => Compiling and Linking Overview => Compiling and Linking NX Open for .NET.

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: External NXOpen API for Extracting Notes from Drawing file using C Language

Esteemed Contributor
Esteemed Contributor

cowski1 wrote:

The compile and link process for .NET programs can be found here:

https://docs.plm.automation.siemens.com/tdoc/nx/10/nx_api/#uid:index_nxopen_prog_guide:id1142151:com...


The direct link is nice, but navigating through the entire NXOpen Help would be better, so one knows where information is for the future.

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