cancel
Showing results for 
Search instead for 
Did you mean: 

ImportIges with UT-8 Path

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Hello,

 

I'm trying to import iges files programatically from UT-8 Pathes (with Chinese letters..)

I'm using the NXOpen::IgesImporter and I set the path through NXStrings: 


igesImporter->SetInputFile(NXString( NXString str (m_igesFilePath, NXString::UTF8));

However igesImporter->Commit() is failing whenever my path contains any Chinese characters.

 

Is their any solution for this problem?

 

best regards,

Felix

Software Engineer PLM/ CAD
...using NXOpen with C++
3 REPLIES

Re: ImportIges with UT-8 Path

Esteemed Contributor
Esteemed Contributor

Non ANSI encoded paths are only supported starting with NX 10, previous releases of NX don't support them.

 

What NX release are you using?

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: ImportIges with UT-8 Path

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Thanks for your replay.

Of course I'm using NX 9 at the moment. I will test it with NX10

 

best regards,

Felix

Software Engineer PLM/ CAD
...using NXOpen with C++

Re: ImportIges with UT-8 Path

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Hello, 

if anybody is interested...

 

I'm just moving the files with nonANSI characters to a tmp ansi location and then perform the iges import. A simple and easy solution which is working nicely.

 

Properties and names of the imported features are filled by NXStrings with UTF8 coding.

 

best regards,

Felix

Software Engineer PLM/ CAD
...using NXOpen with C++