Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8684

How to import 3dm file with c++

$
0
0

@suc_kiet wrote:

Hi;
I am sorry for the second time to ask this question, I try to import 3dm file into rhino sr9, but always failed.
the core:

ON_wString filename= "E:\\Test_Box.3dm";
filename.TrimLeftAndRight();
ON_wString script;
script.Format( L"_-Import \"%s\"", filename );
RhinoApp().RunScript( script, 1 );

And I copy the this sample : http://developer.rhino3d.com/guides/cpp/opening_a_3dm_file/ into c++ and run it, but failed too, now I do not kwon how to do it :sob:, cant somebody hepl me?.

Test_Box.3dm (46.4 KB)

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8684

Latest Images

Trending Articles



Latest Images