SketchUp root folder
-
Hello,
How can I get the SketchUp root folder?
Inside Windows (I still haven't tried for OSX), after install SketchUp, no entry is created into windows registry informing the installed folder.The only thing I have found, after you run SketchUp for the first time, is the SKP file extension registration. This adds an entry at registry with the following key:
HKEY_CLASSES_ROOT\SketchUp.Document\shell\open\command
or
HKEY_CLASSES_ROOT\TypeLib{FBD46897-D37D-484F-A4BF-B48EE41F0348}\1.0\HELPDIRIs there a more secure way to find where SketchUp was installed?
Regards,
Fernando. -
Sketchup.find_support_file("")
seems to work, but I haven't tested all platforms.
-
Hello Jim,
Actually I need this outside SketchUp.
I'm creating an installation package which need to know where is the Plugins folder.The registry entry:
HKEY_CLASSES_ROOT\TypeLib{FBD46897-D37D-484F-A4BF-B48EE41F0348}\1.0\HELPDIR
seems to be ok.Regards,
Fernando. -
Oh, well here's a couple thread about that..
http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=11338
http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=4845
I don't know if they have what you need.
Advertisement