No API help for importer class?
-
Why is there no help topic for this class?
http://download.sketchup.com/OnlineDoc/gsu6_ruby/Docs/ruby-importer.html#load_file
Does anybody have any info relating to methods for this class? -
@unknownuser said:
import
The import method is used to load a file by recognizing the file extension and calling appropriate importer.Syntax
status = model.import "path+filename", show_summary
Arguments
“path+filename” – the path and name of the file to import. [It works out the importation type from the file's suffix of .dwg/.dxf/.skp/ etc]show_summary - true if you want to show a summary window, false if you do not want to show a summary window.
Return Value
status – true if successful, false if unsuccessfulso I'd expect that:
Sketchup.active_model.import("C;\\...FULL_PATH_TO...\\my.dwg",false)
should work [it does].
Incidentally the equivalent model.export(filepath,false) method also works...
-
Thanks mate. Thats very helpful.
Advertisement