sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Edge "length" in Generate Report

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    5 Posts 3 Posters 2.3k Views 3 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.
    • L Offline
      lucaspsara
      last edited by

      Hello, first time posting here! 😄
      I´m making a calculation report on a house's electrical installation.
      For the wiring, made a component containing a group of connected lines. When I select all of the connected lines the "entity info" tray shows up the total length of the wires. This is the length we are looking for our calculation to use in the "generate report" feature.
      The problem is when I group or make a component out of the lines, this lenght is lost, and I cant get it to appear with any of the standard classification types. Any Ideas of how I can get this lenght in a report?


      all lines selected, entity info showing lenght


      generate report not showing the same data

      1 Reply Last reply Reply Quote 0
      • Dave RD Offline
        Dave R
        last edited by

        The report generator can only report dimensions of group and component bounding boxes. If you make components for each edge you should be able to get the lengths of each one. Since dimensions in Report Generator are given by axis I would set the same axis for the length in each component.

        Here's a quick example. Red axis set along the length of each edge.
        Screenshot - 3_26_2022 , 8_16_09 AM.png

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 Reply Last reply Reply Quote 0
        • L Offline
          lucaspsara
          last edited by

          @dave r said:

          The report generator can only report dimensions of group and component bounding boxes. If you make components for each edge you should be able to get the lengths of each one. Since dimensions in Report Generator are given by axis I would set the same axis for the length in each component.

          Here's a quick example. Red axis set along the length of each edge.
          [attachment=0:os1d1l4j]<!-- ia0 -->Screenshot - 3_26_2022 , 8_16_09 AM.png<!-- ia0 -->[/attachment:os1d1l4j]

          I see, this solution is cool haven't think about that, the problem is making a group and setting the axis for every line will be kinda tedious when you have a full house to make, also when you have arcs you don't get the real length of the curve (this is how usually the ceiling electrical lines are represented in 2d plans wich we import to SketchUp).
          Anyways I tried this solution and it worked so I will have it as an option, Thanks!

          1 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            No, it's not ideal. If you make components instead of groups you can choose the axis orientation while creating the component. And you're right, it doesn't work for arcs and curves.

            To be honest, I think if I had to have that information out of SketchUp I would model a run of edges as a single component and use Entity Info to tell me the total length and write it down or type it into a spreadsheet. I suspect it would actually be faster to do that than it would be to divide into separate components and set axes for each. You can get total length for all of the edges in the component/group even if they aren't continguous so you might not need a whole lot of components/groups. (I'd use components and give them useful names so I know what lengths come from which objects.)

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • gullfoG Offline
              gullfo
              last edited by

              a variation - once you have the "wires" laid out, ctrl-a to select all lines - examine the length in your entity info, then create a component with the name like "elec_wire_256" for 256 inches (or whatever your base measure is. round up 😄 then when you run the report the wire components are listed in a grouping and the various lengths. i also include wire type/size such as "bx12-3" or "nm14-2", etc as part of the name... so "elec_wire_" + "bx12-3_" + "256" then i can readily parse it into a spreadsheet by splitting on "_" underscore.

              Glenn

              http://www.runnel.com

              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