Iām not sure what a āstream deck XLā is but as far as components go, if youāve saved them into a local collection you can bring them into your model from the components panel in the tray.
I know nothing about Stream Deck XL, but I donāt think that is relevant to your question. The problem is that SketchUp is mostly driven via an interactive GUI, not by commands. For example, to import a component you first go to a source, usually either a local collection or the 3D Warehouse, and there you interactively select the component of interest using the GUI. Then you interactively drag the import onto your model using the cursor and click to place it where you want. I see no way to implement all that via a button press or keyboard shortcut regardless of the device.
The examples you mention involve activating a Tool, following which you use the GUI to do things with that Tool. Importing components doesnāt fit that scenario.
The stream deck is a macro button panel. So you can put everything under a button. It is just a shortkey in a button form.
this is what i wanted. i have a large library of my own components. so I wanted to set each component separately on a button so that I can see my components at a glance and load them into sketchup with the push of the button.
but indeed I do not see the setting that you can assign a component a shortkey
Weāve already given you THE way to do it via the Components panel.
If all you want to do is import the same component every time you poke a button, I imagine you could write a plugin to do that and then assign it a keyboard shortcut in SketchUp and then assign the button on your box to emulate that key stroke. Seems like a pretty limiting thing, though. You can access any component saved in a local collection or in the 3D Warehouse via the Components panel.
Iām curious. What component do you have that is worth tying up a button on your little box? If you use it that frequently, maybe you could just add it to your default template so itās always in the model.
I
I work in the events and I make technical drawings. Think of technical floor plans and stage designs. So I have a lot of different components. think of fencing, cabins, scaffolding, lights and tents.
I can see how one might write a Ruby extension that would initiate the placement of a specific component from your collection when you press a particular button. But then I think you would either have to use the cursor to choose where to place the component or would have a fixed location that you would have to later change with the Move tool. Either way it doesnāt seem like a lot of work saved vs having the components window open, clicking one, and then interactively placing it in the model - which is how the SketchUp GUI already works.
Maybe there is a way, but it strikes me as driving screws with a hammer because you happen to have a hammer
my components are divided into sub directories. there are 15 in total, so that means that I first have to go to navigation, and then click on my folder that I need. then scroll to find my component.
@DaveR already told you, if you insert them in your default template, there is no more need for digging in folders and subfoldersā¦
Another approach instead of picking everything out of the components panel is to pick it once and making arrays of that first one.
Just a change of workflow i guess.
P.s. good luck with the business! Iām also still waiting for the moment we can go out and build festivals againā¦