moethu / SketchUpNET

SketchUp C# API - A C++/CLI API Wrapper for the Trimble(R) SketchUp(R) C API
MIT License
108 stars 34 forks source link

Filter geometry by layer #11

Closed bkvsy closed 7 years ago

bkvsy commented 7 years ago

Hi, is it possible to filter imported geometry in dynamo by layer name?

moethu commented 7 years ago

@bkvsy this is not implemented at the moment but I can add it

bkvsy commented 7 years ago

Great. I'm looking for a solution for importing separate sketchup solid geometry modeled in one file to separate mass in revit ie. 4 blocks representing 4 different buildings. Right now that imported group of blocks becomes one mass in revit. And mass floor represents a connected sum of floors of all buildings in group. I can't find a better way rather than creating many separate skp files and importing all masses one by one.

moethu commented 7 years ago

@bkvsy just uploaded a new version handling it... at least on the highest level. You can have nested groups / instances / etc... and they all can have layers... so I just added a node giving you the model content by layername for the highest level of elements.