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