Is there a way to have your Sketchup inserted model to display as colour by tag?
turn colour by tag on ? ![]()
I assume you mean to have your main model with normal materials, and only your imported one with colour by tag ?
nothing native Iām afraid. Probably some plugin to apply the tags colour as a face material, havenāt seen / searched for one.
edit : ok, a quick search tells me that back in 2022 it wasnāt possible due to limitation of the API. canāt grab a tagās material and apply it as face materialā¦
what you could do is a little bit destructive.
prior to your import, you could remove all materials in your (soon to be imported) file.
then, hide all the tags but one, select all, and paint with a single colour / material.
repeat.
youāll end up with a model where all the things that have a specific tag have a specific colour, even in normal mode.
Darn, we canāt absorb destruction of the models. Just being able to display in colour by layer would have saved us about 1000hrs per year!
I wonder, maybe you could sort something out using theme plugins like this one
they allow you to switch between themes, sets of materials.
In LayOut you can override the style of the viewport and set it to color by tag
Am I misunderstanding? There IS a color by tag option in SketchUp.
Canāt that be used?
they donāt want to use colour by tag on the whole file.
only on some imported parts.
I use an old plugin called Grey Scale⦠it magically converts colors in your model to grey scale, and will magically convert back if you need.
Here is a test:
Run plugin:
Make new file with fun colors:
Import model that was saved after using āGrey Scaleā to the new file:
So it would seem that you might be able to hire a developer to create a temporary override of the colors in your model to the color that is assigned by the Tag. You can than save this and import it into your ānormalā colored model. As a component if you change things in the ColorizedByTag model you can reload / update that in your ānormalā model.
This is an interesting idea. You happen to be talking about color by tag, but in general having any style applied to only specific objects could be useful. I started an internal discussion about this.
Wow! Iāve been playing around forever and canāt work out how to do that! Any tips on how?
We actually want both; scene dependent! We will render probably half of the scenes in the LayOut file in shaded mode and half in colour-by-tag!
I will check into that.
Seems the style you used for viewport in LayOut is activating color by tag and switch on āDisplay in Hidden line modeā. In this style, only tags have textures can be displayed as textured or colored.
The solution is set a white texture for each tags, then change the color to be able show colors for tags in Hidden Line Mode.
ā¦
Or turn off Hidden line mode.
Edited: I missed the image you posted.
I did try it, and the style seems to be honored.
It is probably mentioned already, but can you show a file or steps, that leave you with a document in LayOut that looks different to what the SketchUp model showed?
Do you save your model before you update your scene in LayOut? That may push the Color by Tag so LayOut respects it.
Eric S described an extension for SketchUp that he thought would be cool in one of his videos; āColor by Tag Stateā. I tried my hand at it and made one that saves Tag Color States and then allows linking them to scenes:
I donāt use LayOut much but I have a hunch that you need to save your model and then update in LayOut to get CBT to work.
Ok I persisted! I had to set a scene with colour by tag, I was relying on the colour by tag selector in the tag manager to set the style, that does work in the sketchup scene, but not when imported to LO!
If setting as colour by tag in the modelling setting under the scene manager it works for Sketchup and Layout imports! Left Scene 1 (colour by layer), Right Scene 25 (shaded - colour by layer turned off).
Turned out I was counting on the tag manager to set the scene style (which works in Sketchup) but as I didnāt setup an actual style with colour by tag, it didnāt work in Layout! Duh!!





