I try to catch the selection of some component but when the component is in an other component i have to do 3 clicks to acces it.
For example on the picture
I want to create a plugin to reveal and put the component like the litle cube or the litle rolltop on foreground. I want to do this to have an easy way to click on this component and launch other funtion on my api ruby on them after
I try to find a solution but i fail thanks for help everyone.
The āOutlinerā allows you to drag groups and components from one context to another. You can thus drag a nested component to the highest level, just as an example.
That one of possibility but the problem is that on my drawing there are lots of component that i want to catch and on the Outliner is not easy to choose the correct component (some have the same name). You have to click on few component to find the one you want.
I try to put them in foreground to make easy to see and click on them but when i click on this all the object is selected not just the litle cube for exemple.
Sorry, the SketchUp APIdoes not have any method to programmatically put the user interface into the editing context of a group or component. (This is considered an end user function.)
This is a good suggestion. Iām trying it but if the model has a lot of components at different levels itās difficult to drag them up to level 1. Sometimes they donāt drag easily. Is there another way they can be ābatch assignedā to level 1? Thanks,
Iāve just been trying same as Jeremie and used your suggestion of Xray and itās working well for me. Iād like to be able to ābatch assignā components that are same but at different nesting levels to the nested level 1. Is there any way this can be easily done? āDrag/dropā within outliner works well but gets much more difficult if there are a lot of components. Hard to see 1st level (collapsing will hide them) and āholdingā while dragging āsometimesā lets you move to 1st level, but not always. Sometimes they seem to āfreezeā. If you have any thoughtās on a ābatch reassign levelsā that would be great. Thanks.