Hello again !
As my jorney through SketchUp API continues, i encountered a new problem. I try to create script in Ruby Console, which will allow me to import many dxf files at once. But when I try to execute teh script, after every model.import execution new view is created - which results with program crash after circa 30 imports. Is there any way to force SketchUp NOT to create new virew after importing dxf ?
model = Sketchup.active_model model.import "C:\\HExportSketchup\\Cs\\C-L1-Z10.dxf", false model.import "C:\\HExportSketchup\\Cs\\C-L1-Z3.dxf", false model.import "C:\\HExportSketchup\\Cs\\C-L2-Z1.dxf", false
and so on.
Is it possible to import dxf file using C SDK?