Closed DanRathbun closed 11 years ago
Ah, another set of undocumented constants.
Didn't realise the Sketchup::Importer
had any content to it - or even that it was defined (like the Tool class).
I'm marking this as fixed.
( @jimfoltz if you in the commit writes in the format of "fixes #62" it will automatically close the issue when merged.)
importer.rb:line 11
CommunityExtensions::STL::Importer
should be subclass ofSketchup::Importer
Allows inheritance of common functionality, etc.
For instance, the
Sketchup::Importer
superclass has ALREADY defined status constants, that can be inherited, viz (at the console):Sketchup::Importer.constants.sort
returns:It is generally best practice to use these API defined constants for future API compatibility, rather than defining custom constants that reference discrete integers.
IF you MUST (because you do not like the the fact that the superclass' constants are in module/class identifier style, instead of ALL_CAPS constant style,) then you can do:
... **provided that you sublcass
Sketchup::Importer
There is a API question. What is
Sketchup::Importer::ImporterNotFound
which equals3
??:)