[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!
Advertisement