# Generate Report Showing Total Cost

**URL:** <https://forums.sketchup.com/t/generate-report-showing-total-cost/235136>\
**Category:** SketchUp\
**Tags:** components\
**Created:** [July 10, 2023, 9:35pm UTC](https://forums.sketchup.com/t/generate-report-showing-total-cost/235136 "2023-07-10T21:35:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian1](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@Christian1](https://forums.sketchup.com/u/Christian1)\
**Post date:** [July 10, 2023, 9:35pm UTC](https://forums.sketchup.com/t/generate-report-showing-total-cost/235136/1 "2023-07-10T21:35:20Z")

</div>

I have a sketchup file where I keep components that I have created. Specifically framing studs that we use for construction. All components are saved as 1ft in length. When we need certain studs for a new build, we just pull the 1ft studs from this file and stretch them as needed on the new file. Here is the question… Is there a way to put pricing on that 1ft stud, for example 1$, Then when it is stretched to 10ft it automatically prices at $10? The end goal is to model a whole building and the generate report spits out a cost of all materials. Please help

---

<div class="post-metadata">

**Author:** ![DaveR](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/daver/32/7601_2.png) [@DaveR](https://forums.sketchup.com/u/DaveR)\
**Post date:** [July 10, 2023, 9:46pm UTC](https://forums.sketchup.com/t/generate-report-showing-total-cost/235136/2 "2023-07-10T21:46:27Z")

</div>

You could create the component as a Dynamic Component and add a field that calculates the price based on the length and the price per foot. Unless that price remains very stable over time my preference would be to export a cutlist and open it in a spreadsheet where the calculation can be done from current prices.

---

<div class="post-metadata">

**Author:** ![rkleins](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/rkleins/32/182892_2.png) [@rkleins](https://forums.sketchup.com/u/rkleins)\
**Post date:** [July 10, 2023, 9:47pm UTC](https://forums.sketchup.com/t/generate-report-showing-total-cost/235136/3 "2023-07-10T21:47:26Z")

</div>

Why make life difficult? Have several stud components, different lentghs, different prices. Your supplier must sell by the item in dimension lumber.

---

<div class="post-metadata">

**Author:** ![francisquitof](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/francisquitof/32/191263_2.png) [@francisquitof](https://forums.sketchup.com/u/francisquitof)\
**Post date:** [July 10, 2023, 10:16pm UTC](https://forums.sketchup.com/t/generate-report-showing-total-cost/235136/4 "2023-07-10T22:16:33Z")

</div>

You can use quantifier pro for that.

---

<div class="post-metadata">

**Author:** ![Christian1](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@Christian1](https://forums.sketchup.com/u/Christian1)\
**Post date:** [July 10, 2023, 10:25pm UTC](https://forums.sketchup.com/t/generate-report-showing-total-cost/235136/5 "2023-07-10T22:25:52Z")

</div>

So far the dynamic component is working great with the correct calculations. However, when I generate a report, it spits out the number in fraction rather than in dollar. when you say “my preference would be to export a cutlist and open it in a spreadsheet where the calculation can be done from current prices”, I’m interested to know how that works. Thank you!

---

<div class="post-metadata">

**Author:** ![Christian1](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@Christian1](https://forums.sketchup.com/u/Christian1)\
**Post date:** [July 10, 2023, 10:28pm UTC](https://forums.sketchup.com/t/generate-report-showing-total-cost/235136/6 "2023-07-10T22:28:30Z")

</div>

The material we order is cut to size at the manufacturer (metal studs, ledgers, etc). All is cut down to 1/8 of an inch and would be hundreds of sizes to model if we went down this route. For regular wood framing it would definitely work.

---

<div class="post-metadata">

**Author:** ![Christian1](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@Christian1](https://forums.sketchup.com/u/Christian1)\
**Post date:** [July 10, 2023, 10:29pm UTC](https://forums.sketchup.com/t/generate-report-showing-total-cost/235136/7 "2023-07-10T22:29:14Z")

</div>

I will have to look into this. Is it a plugin for Sketchup?

---

<div class="post-metadata">

**Author:** ![DaveR](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/daver/32/7601_2.png) [@DaveR](https://forums.sketchup.com/u/DaveR)\
**Post date:** [July 10, 2023, 11:29pm UTC](https://forums.sketchup.com/t/generate-report-showing-total-cost/235136/8 "2023-07-10T23:29:53Z")

</div>

Here’s an example from an old model of mine. I used CutList 4.1 to generate the .csv file to give me the lengths. Inthis case I’m only dealing with the framing lumber although I wound up dropping out the 3/4 in. thick stuff. I also eliminated my plywood gussets since normal construction doesn’t use them.

 ![Screenshot - 7_10_2023 , 6_14_42 PM](https://global.discourse-cdn.com/sketchup/original/3X/2/a/2a64ae61ada3ca9f0816fcab72cab0d1ac35b48f.png)

The .csv file looks like this as a spreadsheet. Way more info than you probably need.

 ![Screenshot - 7_10_2023 , 6_17_44 PM](https://global.discourse-cdn.com/sketchup/original/3X/5/2/528673a15447e8dd4d3a93a2ea27da5973f3c16d.png)

After a bit of cleanup deleting the unneeded stuff, sorting the components by width, and adding in the simple math for the pricing it looks like this. ($1.00 a foot is no fun since that doesn’t even require any mathing. 🙂 )

 ![Screenshot - 7_10_2023 , 6_23_22 PM](https://global.discourse-cdn.com/sketchup/original/3X/b/5/b5862a39dc0995254236fc68203177cf234674fb.png)  
Of course things like the price per foot could be put anywhere on the sheet so it could be hidden if needed. Of course you could also do other math like calculating how many pieces of a given length need to be ordered. Then work out the price that way.

And this is all free. No paid extensions required.

Wouldn’t hurt if someone spelled the component names correctly. 🙄

---

<div class="post-metadata">

**Author:** ![francisquitof](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/francisquitof/32/191263_2.png) [@francisquitof](https://forums.sketchup.com/u/francisquitof)\
**Post date:** [July 11, 2023, 12:01am UTC](https://forums.sketchup.com/t/generate-report-showing-total-cost/235136/9 "2023-07-11T00:01:25Z")

</div>

Yes, it’s paid through.

---

<div class="post-metadata">

**Author:** ![pcmoor](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/pcmoor/32/3427_2.png) [@pcmoor](https://forums.sketchup.com/u/pcmoor)\
**Post date:** [July 11, 2023, 1:52am UTC](https://forums.sketchup.com/t/generate-report-showing-total-cost/235136/10 "2023-07-11T01:52:28Z")

</div>

> [@Christian1](#):
>
> Is there a way to put pricing on that 1ft stud, for example 1$, Then when it is stretched to 10ft it automatically prices at $10?

assuming lenY is the length, a DC formula would be cost\_foot

```auto
= ceiling(leny,12)*rate/12

```

where ceiling is a DC function

```auto
CEILING(number,significance)

```

rate would be $1 as per above

A combination of DCs, simple ruby scripts and using opencutlist seems a good basis for your goal

---

<div class="post-metadata">

**Author:** ![bmike](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/bmike/32/225451_2.png) [@bmike](https://forums.sketchup.com/u/bmike)\
**Post date:** [July 11, 2023, 8:04pm UTC](https://forums.sketchup.com/t/generate-report-showing-total-cost/235136/11 "2023-07-11T20:04:24Z")

</div>

I use a list generator for my timber frame work. Export to CSV (I’m on a Mac) then open in Excel. Size and sort by whatever I need, and can then send to my clients who will fill in board footage pricing based on overall size.

I never wanted to embed costs into my components because that stuff changes so often. Easier (for me) to manipulate lists in Excel than update dozens or hundred of components.
