Automatic room generation

Hello, I would like to know how I can quickly create rooms automatically (as in Revit). The rooms must then be defined by generating a report. It should also be possible to label a room in Layout.

Currently, I do it this way: I create a plane, enlarge it slightly, intersect it with the model, clean up the lines, create it as a component, and create dynamic attributes (name, area calculation).

This method tires me out and forces me to take unnecessary steps, so I need an extension, Ruby code or etc. Please help!

You could just make a Dynamic Component (DC), then insert and scale it to size with the scale tool, instead of creating the component from scratch each time. If you can share your model perhaps I can help you figure that part out. Not sure how many folk are familiar with Revit around here, maybe try explaining what you want without saying ‘like Revit’.

Here is a very basic DC that you can scale to fit the room. Change the name and the Area will show in generate report. I don’t use Layout so I am not sure how/if the Name attribute can be used as a label/room name in Layout…

Room Area.skp (75.9 KB)

1 Like

Example001.skp (2.1 MB)

I have compex form of a rooms. And there are a lot of rooms in my main model. So simple rentangular shape is not a thing that I need.

Revit like.

For example, I can enclose a space with walls and place a “Room” component inside, which would immediately draw the outline of the room around the walls and have the necessary attributes.

1 Like

You could just swap the floor geometry inside your component…

1 Like

It’s faster =)
Thanks for help!

1 Like

Don’t forget to make it unique first! I did not in the video lol. Dynamic Components and SketchUp take some getting used to, it’s a different think than most CAD programs. Perhaps Philip @pcmoor has a better method, he may know how to use the attributes in Layout as well…

1 Like

All dynamic attributes can be used in Layout. So everything is fine here. Still, it’s interesting how it can be done, as I described Revit like.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.