SketchUp Pro 2018 is here and with it a slew of awesome new features. Two of these features are the Advanced Attributes and ‘Group By” aggregation in Generate Report. While these are both great features on their own, let’s take a look at how you can combine them to create door and window schedules.
To generate a schedule, I’ll start by adding a few attributes to the door and window components in my model. Specifically, I’ll add a Size using the new Advanced Attributes (access these through the “More” button in the Entity Info window). In addition to Size, there is a new attribute for Price, URL, Owner, and Status. These fields allow you to add information to any component, and they can also be called upon by LayOut labels (we’ll look at those a few paragraphs on)!
In addition to defining a Size for all components, I also want to make sure all components have an instance name. Instance Names are also defined in the Entity Info window, and are the data object we’ll use to create an aggregated schedule for our doors and windows.
In most cases, all instances of a door or window will have the same Instance Name, but in some cases (such as a door which can swing either left or right) a single component may end up having more than one Instance Name. In my example, I had one door component. Two of these doors swung left and were labeled D1. The third, a right swing, was labeled D2. Same component, but different real world thing: each real world thing should have a unique Instance Name!
Once the data is all set in the model, it’s time to run a report! In Generate Report, I’ll create a brand new template. Make sure to give your new template a name and save it (The guy who made the video below forgot this important step!).
The first step in creating the new report is to choose where the info will come from. In this example, I want to report upon the entire model and choose to report upon a specific nesting level. In this case, Level 3. “What the heck is a nesting level?” you ask?
Now, I’ll set the Group By value. This is the attribute by which Generate Report will aggregate components. In this case, I want all components with the same name to get consolidated together so I will drag Entity Name into the Group By field. Finally, I can add any additional attributes that I would want on the schedule. I added Quantity and Size to the Report Attributes list.
Now I’ll Save and run the report. Once I run the report, it looks like a door and window schedule. Success! The final step in SketchUp is to export the report so I can load a .CSV into LayOut as a Table.
Over in LayOut, my report comes in as a Table, which means it can be edited and styled (so I can change the column heading from Instance Name to Label). Even better, I can use the Label tool to add call-outs to the Model Window for the Instance Name of each door and window. Since the Instance Name was a standard attribute from SketchUp, I simply choose it as an automatic label from the label drop-down (I could also use the Size or Component Name, if I wanted).
There you have it: A little bit of pre-work in naming and organizing components while modeling, and then I’m off to the races when it’s time to turn my model into a project. Happy sketching!