Page 1 of 1

Adding objects from another file

Posted: Sun Jul 28, 2013 12:37 pm
by Sergei_O
Hello
Is there a way to add objects from another glm (or better another .dwg file) on the disk to the scene currently displayed?
Thanks in advance
Sergei

Re: Adding objects from another file

Posted: Sun Jul 28, 2013 12:38 pm
by Michael_777
Hi Sergei

C# DataFlow sample uses ModelManager.ImportObjects() which does this. Have a look at Samples\NET\C#\KernCADLib\ModelManager.cs with any text editor. It should be clear even if you do not code in C#. It uses IModelEx.Load().

I had same question and it is the only place I found apart from the Model>Import objects option in Modeling Studio for doing it by hand

Cheers
Mike