It is the same situation. Inspector panel states, panel tray states, and toolbar positions and states, are not saved as properties of a model
Think about it a minute. People share model files all the time, but may not have the same component library folders, or the same set of extensions installed. So it makes no sense to insert that data into every
.skp file. (That would also bloat the
These GUI settings are saved by SketchUp when SketchUp successfully closes, into JSON text files (for versions 2018 and higher.)
https://help.sketchup.com/en/sketchup/older-release-notes#su18, section: “Preferences Location”
On older version, under MS Windows these settings are saved into the Windwos registry database and can be difficult to read. Mac systems used a proprietary
.plist format (that coincidentally is similar to JSON.)
This means if SketchUp crashes any GUI changes by the user that session will not be saved. It also means that plugins cannot read any changes made that session directly from the files. (Plugins would only see changes after a restart of the application.)
All that said, … there is an API command to show the various inspector panels.
(Opens them if they are closed, or brings their tray to the top of a tray stack, etc.)
Other than this, no more control or properties of the various inspectors have been exposed to the API. This is because their settings are considered end user features.
So if the user navigates away from your “home” component folder, then this is where the “Components” inspector will be when SketchUp is loaded again.
You can make navigation easier by adding special folders as “Favorites”.
You can also make things way easier if your special custom component folders are inside the user AppData “Components” folder for your current SketchUp version. Basically …
If your users have a strange setup, and user data is somewhere else, you can find the path by using the following command in the Ruby Console …
Also, the “Components”, “Materials” and “Styles” inspectors can have a secondary pane opened to a different resource folder (ie, a collection.) You might experiment with setting the 2nd pane to your “special” collection folder.
Lastly, the user can set a key chord accelerator to open any of the native inspector panels. See:
Window (menu) > Preferences (dialog) > Shortcuts (panel)
Scroll down to the menu commands under “Window” and you’ll see a bunch beginning “Window/Show …”. Choose the item “Window/Show Components”.
Click into the “Add Shortcut” box and type your desired key chord. (I just set this as CTRL+F2 as a test.)
Once the key chord is in the box, click the + button and you’ll see the shortcut move to the “Assigned” box. Exit the Preferences dialog and then exit and restart SketchUp to be sure the new shortcut is saved.