sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    SketchUp Command Line Switches

    Scheduled Pinned Locked Moved Developers' Forum
    7 Posts 5 Posters 6.0k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      Jim
      last edited by

      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

      Hi

      1 Reply Last reply Reply Quote 0
      • D Offline
        driven
        last edited by

        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

        learn from the mistakes of others, you may not live long enough to make them all yourself...

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by

          Oh, that one might use a / (slash) instead of a - (dash)

          Hi

          1 Reply Last reply Reply Quote 0
          • A Offline
            Aerilius
            last edited by

            -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.

            1 Reply Last reply Reply Quote 0
            • D Offline
              driven
              last edited by

              knew I'd seen it before, needs a boolean

              %(#BF4080)[cd /
              Applications/Google\ SketchUp\ 8/SketchUp.app/Contents/MacOS/SketchUp -DisableRubyAPI YES]

              john

              learn from the mistakes of others, you may not live long enough to make them all yourself...

              1 Reply Last reply Reply Quote 0
              • T Offline
                TBoy
                last edited by

                Is it possible to start Sketchup with different location for plugins folder. For example - a thumbdrive or "disk name/MyFavoritePluginsFolder" ?

                1 Reply Last reply Reply Quote 0
                • TIGT Offline
                  TIG Moderator
                  last edited by

                  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_AdditionalPluginFolders

                  Read its More Info... pages for usage etc...

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Buy SketchPlus
                  Buy SUbD
                  Buy WrapR
                  Buy eBook
                  Buy Modelur
                  Buy Vertex Tools
                  Buy SketchCuisine
                  Buy FormFonts

                  Advertisement