[REQ] Group different color than Component
-
@unknownuser said:
Is this possible with some Ruby?
NO ... sorry.
Geom::BoundingBox class is a subclass of Object. Neither it, nor Object, have a color attribute.
Geom::BoundingBox is not like other Sketchup::Drawingelement subclasses that have a material attribute (that they inherit from their Sketchup::Drawingelement superclass.)
Currently the BoundingBox color is controlled globally via:
model.rendering_options['HighlightColor']Any change would need to be made in the Sketchup C++ source.
In addition to Component and Group boundingbox color, there needs to be a normal object boundingbox (or highlight) color. (Such as when you click on a single Face or Edge.)
-
Well, you could make a custom Tools that did highlight groups/components with different bounding boxes...
-
@thomthom said:
Well, you could make a custom Tools that did highlight groups/components with different bounding boxes...
Naw... he wishes the boxes to be colored differently using ALL tools (especially the native tools.)
But wouldn't it be interesting if class ComponentDefinition had a @boundingboxcolor attribute ??
We wouldn't be limited to only a few colors (enitity, image, group, component, model.)
Components of different definitions could have different boundingbox colors!
Another idea... take a Group or Components boundingbox color from it's layer color!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement