SketchUp Command Line Switches
-
From this topic, here's a few command-line options for SketchUp.
$ Sketchup.exe [opts] [file.skp]
Where [opts] are:
-DisableRubyAPI -RubyStartup "/path/to/ruby.rb" -template "/path/to/template.skp" -notemplate -page "Scene1" -timing
These may be options, but I haven't been able to verify they work:
-DisableAutoSave -DisableWarnIfReadOnly -thumbnail -thumbprefs
-
cheers Jim,
on a mac, because of the ridiculous Google Folder you need to use, unless you add it to the ~.profile
/Applications/Google\ SketchUp\ 8/Sketchup.app/Contents/MacOS/SketchUp -DisableRubyAPI
anyway, that one works...
EDIT: it seems to work [as in it starts SU], but when you actually click SU, it continues loading, including the Plugins...
john
-
Oh, that one might use a / (slash) instead of a - (dash)
-
-lang ru
where the language is exactly the name of the localization folder in the resources directory. For example create a new folder of your favorite dialect (pfl) and load it with%(#000000)[-lang pfl]
. It seems that eastern asian languages need also a special SketchUp.exe binary. -
knew I'd seen it before, needs a boolean
%(#BF4080)[cd /
Applications/Google\ SketchUp\ 8/SketchUp.app/Contents/MacOS/SketchUp -DisableRubyAPI YES]
john -
Is it possible to start Sketchup with different location for plugins folder. For example - a thumbdrive or "disk name/MyFavoritePluginsFolder" ?
-
SketchUp always includes its own Tools folder [and the nested Ruby folders] and your user Plugins folder in it load-path [
$:
]
You can include addition plugins folders in the load-path array, and any scripts in there will load as SketchUp starts.Fredo wrote a clever extension to do this for you.
https://sketchucation.com/pluginstore?pln=000_AdditionalPluginFoldersRead its More Info... pages for usage etc...
Advertisement