Adding objects from another file

Technical discussions
Post Reply
Sergei_O
Posts: 3
Joined: Sun Jul 28, 2013 12:35 pm

Adding objects from another file

Post 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

Michael_777
Posts: 3
Joined: Sun Jul 28, 2013 8:34 am

Re: Adding objects from another file

Post 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

Post Reply