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.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0
Employees of the customers, together we are strong
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
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.