Hello Forum!
When it comes to Renderings (in my case Lumion), it is important to use individual materials/colors in SketchUp to be able to work on each individual surface in Lumion. But sometimes it occurs, that when working in Lumion with the imported SU-File and working/placing Material, for example the walls, another surface somewhere within the model, for example the tea pot, also flashes up, because of using the same color in the SU-Model by mistake.
Question: Is it possible, to activate all geometry which has the same Material/Color on it to avoid these kind of errors before exporting the model to the Renderingsoftware?
In both cases they would select only in the active context so if you’ve applied the material inside a group or component, you would need to have it open for editing to access the material and then it wouldn’t select anything outside that context.
hmmm true… But in that case, sketchup can do it natively. right-click on a face > select > all with same material.
I know for sure that Vray has a function to select every face for a particular material in the whole scene, no matter if it’s in a group or not. but because you use lumion, I doubt you have both ?
Yes, that is what we where saying, about the “active context”. The plugins we talked about won’t do any better.
If lumion works the same way other renderers do (I’m thinking of Atlantis, twinmotion…) You should have an option to apply materials to objects instead of replacing materials, for the few exceptions you might encounter (rather than having to go back and forth from one software to another)
I also encoutner this issue a lot - epsecially working on houses where a lot of the fittings are white, grey, off-white, etc, and a lot are named things from other software or with generic names "“ColourA005” or “'Archi-55” or “Wall3-1”
The trick of making everything bright is a good way to find it, but it doesn’t help fixing it!
It would be amazing if the Materials pallete could be sorted or grouped somehow, based around the model’s heirarchy.
I always seem to end up with 100s of materials in a model, just because i have some furniture, vehicles or landscape components.
Hopefully Trimble are working on an upgraded material/component browser interface for a future release… when working in other software (eg lumion) it becomes very clear how dated the SU interface now is.
it allows you to select the same material among model, even inside groups or components. careful though. because it selects faces inside groups as well, use with caution (for example, grouping the selection would cause unexpected behaviour). But you can then use thomthom’s plugin listed above to hide everything that is unselected, perhaps other manipulations that i’m not thinking of right now.
Note that it’s a rb file and not rbz. You won’t be able to install it through the extension manager, place it in your plugin folder. (and restart sketchup)
to then use it, once the desired material is ‘loaded’/selected, go to extension menu > material selection
hello,
I guess it is feasable but that would imply modifying the rb file so perhaps someone skilled in ruby could ? @DanRathbun@dezmo ?
probably modifying this part
def self.recurse(ents, m, s)
ents.each do |e|
if e.is_a? Sketchup::Group
unless e.material == nil
if e.material == m
s.add e
end
end
recurse(e.entities, m, s)
elsif e.is_a? Sketchup::ComponentInstance
unless e.material == nil
if e.material == m
s.add e
end
end
recurse(e.definition.entities, m, s)
elsif e.material == m
s.add e
end
end
end