Load multiple 3ds file in viewport

Dec 10, 2012 at 8:01 PM

Hi Objo,

I am new bee to helix 3D. I need to load many .3ds file in helix viewport. Now i am using the following code

var modelGroup = new Model3DGroup();
            var reader = new StudioReader();
            FileStream c = new FileStream(@"F:\\helixtoolkit3dfiles\" + URL, FileMode.Open, FileAccess.Read, FileShare.Read);           
            reader.TexturePath = ".";
            modelGroup = reader.Read(c);
           this.Model = modelGroup;

I can only load one file at a time. I need to load many. Thanks in advance for your help. Please let me know your suggestions.


Dec 13, 2012 at 11:02 PM

try adding the loaded models to the Children collection