Make Component Unpickable

Hi there!

I would like to make a component completely unpickable. I am able to access the Pickable property of a vcGeometryFeature of the component, but only if I know where it is in the feature tree. Is there a way to collect all features of type vcGeometryFeature of a component, no matter the number of child nodes?

Thanks!

Please check the getGivenComponentsFeatures function under the vcHelpers.Selection module.

1 Like

Thanks, this works!
I made my own function for it and I get the same number of features, but I will use getGivenComponentsFeatures from vcHelpers.Selection to keep things simple :slight_smile:

1 Like