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?
Solved! Go to Solution.
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?
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: NX12.0
How to Get the Most from Your Signature in the Community
Thanks for your replay.
Of course I'm using NX 9 at the moment. I will test it with NX10
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.