sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Calculate Volume/Length for All

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    5 Posts 2 Posters 2.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      stevendaniels
      last edited by

      I have an i-beam as a dynamic component in my model. I set up a few options for z-length in the component attribute editor and can now happily change sizes on the fly from the menu. Example of my options:

      • 1 meter
      • 2.5 meters
      • 5 meters

      There is only one problem, I need to be able to calculate the sum length or volume for all of these beams, and right now I cant see anyway to do that

      The entity info only shows how many of the current component exist in the model, but there is no way for me to get a breakdown for its options, something like this:

      1 meter (40 in model)
      2.5 meters (15 in model)
      5 meters (30 model)

      Even better though, would be some way to have sketchup do the calculation for me

      85 in model (Z-length 362 meters)

      or

      85 in model (Volume: 21720 cubic meters)

      I tried using the VolumeCalculator plugin but it does not work on dynamic components - even if you select multiple it only calculates the volume for the individual.

      Any ideas? Despite my unfamiliarity with SU ruby API, I am pretty fluent in Ruby so any console buffs out there should feel free to chime in

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • S Offline
        stevendaniels
        last edited by

        Ok so it looks like this can be done by generating a report for the model. I just wish there was a way for me see this information inline without having to generate spreadsheets

        1 Reply Last reply Reply Quote 0
        • S Offline
          stevendaniels
          last edited by

          Hmm the reports generated are hardly accurate. Even exporting with one component and I see the report does not match the dimensions. This is one area of Sketchup that could use some improvement

          1 Reply Last reply Reply Quote 0
          • charly2008C Offline
            charly2008
            last edited by

            Hi Steven,

            Is it perhaps that what you are looking for. Look at this link:

            http://forums.sketchucation.com/viewtopic.php?t=41120

            Charly

            He who makes no mistakes, makes nothing

            1 Reply Last reply Reply Quote 0
            • S Offline
              stevendaniels
              last edited by

              That is just what the doctor ordered. Thanks a bunch charly!

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement