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

    Layout make table with bom

    Scheduled Pinned Locked Moved LayOut Discussions
    layout
    27 Posts 8 Posters 5.5k Views 8 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.
    • Dave RD Offline
      Dave R
      last edited by

      Unfortunately you can't update a table automatically. It would be nice if that could happen but it doesn't at least for now.

      If you don't edit the table directly in LO, you can right click on its text box and choose to edit the table in your word processor. Or if you modify the RTF file in your word processor, you can update the reference as you would with the SketchUp model to LO viewports. You will have to manually edit the text of the table in the word processor and save the RTF file. And of course your RTF file won't get updated automatically when you add or otherwise change the SketchUp model.

      I can see the benefit of having a table in LO linked dynamically to the SketchUp model. We'll have to wait and see if it happens in the next version. If it did, that would be huge!

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        There is a way to semi-automate it.

        Make an RTF file with a Table mimicking the Excel Spreadsheet, and add any other text etc you'd like in the RTF too.
        At the end of the RTF file add a linked Object to the XLS spreadsheet: this will update every time you edit the RTF file.
        The linked object doesn't appear in the RTF when it's inserted into a Layout Page, BUT the Table version will.
        Edit the XLS from within the RTF and copy+paste the cells values into the Table.
        Do NOT edit the RTF's contents within Layout as it will break any linking to the RTF file, instead right-click and use Edit with WINWORD, it opens in Word and the XLS details are updated, you can then copy+paste the whole spreadsheet into the RTF and save it; the text in Layout updates to match.
        Also Layout can be set to auto-update the imported RTF's contents on reopening etc...

        You can have a Ruby based tool within Sketchup to export data to the XLS file, this is then updated in its link to the RTF IF you edit the RTF in WINWORD rather than Layout...

        By coincidence I am currently developing a Windows only tool [for a large US company] which will export/import data from SKP to XLS without the need for intermediate CSV/TSV format files... So I know it's quite possible to export your SKP's data into an XLS file, that is linked into a RTF file, that is linked to a Layout document... however, to force the RTF's contents to update you do need to open it in Word, allow the auto-update, and since the XLS doesn't come across you do need to manually update the Table version in the RTF using the linked XLS cells' contents... and then save it, and of course update the Layout instance of it too... Never said it was easy - just possible! If Layout could 'see' the linked XLS inside the RTF with you having to Table-ize it that would be ideal...

        TIG

        1 Reply Last reply Reply Quote 0
        • bmikeB Offline
          bmike
          last edited by

          subscribed... very interested in any further developments.

          currently i use a ruby written by daiku to export my timber list to excel.
          i haven't had need (yet) of placing this in a LO drawing... but can see the use of the functionality.

          mike beganyi design + consulting llc

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            Another even simpler idea 💭

            Export the data from the SKP, doing all of the calcs/number-formatting/etc in Ruby, saving it in TSV format - Tab Separated Variable list - BUT suffixed as .txt...
            Then Insert that .txt File into your .rtf file - it needs to be as a 'Link' [NOT simply Inserted] so it updates as the .txt file is changed...
            Then in Layout you can Insert the .rtf file as explained earlier and it'll auto-update as Layout opens, or you can also update it from within the SKP as desired, provided that it's never manually edited in Layout which breaks the linking...

            TIG

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

              That's an interesting idea but I just tried that with a simple TXT file inserted into an RTF file as an object and then inserted the RTF file into LO. A text box is created but there's nothing in it. Text typed directly into the RTF file will appear but not the object. What did I miss?

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • TIGT Offline
                TIG Moderator
                last edited by

                Insert into the RTF as a File [Linked] NOT an Object.
                Here's an example doing it successfully with .TXT or .TSV files linked into a .RTF, which is in turn linked into a Layout Page insert.
                You'll need to relink the various files because the paths will be wrong on your PC!
                TSVTextTest.zip

                TIG

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jim78b
                  last edited by

                  ok thanks to all,i say it is very complex for me! for reply all, i am in sketchup, 1. i shall give attributes it is my primary difficult, i give it as inmy table below. qty description etc...how i can it?i want put inattributes ex description:sheet 100x100 x5 but this measurea are attributes....

                  then export to aformatted text order as my table below....


                  in this figure i try to make attributes for my table but i can t set automaic the quantity of objects how i can do it?how i can calcute weight? and export to a rtf file ?

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

                    TIG, your examples work quite nicely but I don't see File>Insert as Link... in my version of Word. I found the way to update the links under Edit>Links...

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jim78b
                      last edited by

                      do you seemy problem?

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

                        I don't really understand what you've written. Now it looks like you are talking about Dynamic Components instead of LayOut. Are you using the free version of SketchUp or the pro version?

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

                        1 Reply Last reply Reply Quote 0
                        • GaieusG Offline
                          Gaieus
                          last edited by

                          Well, it's a LayOut topic so I suppose it's SU Pro...

                          Gai...

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

                            Good point, Csaba. Still, I'm getting confused on what the OP wants and his last post seems more cryptic than his first

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              jim78b
                              last edited by

                              excuse me i use pro version.

                              1 Reply Last reply Reply Quote 0
                              • TIGT Offline
                                TIG Moderator
                                last edited by

                                @dave r said:

                                TIG, your examples work quite nicely but I don't see File>Insert as Link... in my version of Word. I found the way to update the links under Edit>Links...
                                Insert > File > . > Insert as Link [it's a drop-down from the 'Insert' button]...might be different on other versions of Word...
                                Capture.PNG

                                TIG

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

                                  Thanks TIG.

                                  Etaoin Shrdlu

                                  %

                                  (THERE'S NO PLACE LIKE)

                                  G28 X0.0 Y0.0 Z0.0

                                  M30

                                  %

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    jim78b
                                    last edited by

                                    how i add attribute as a weight?

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      Paco_Cabron
                                      last edited by

                                      @dave r said:

                                      Yes, you can make that table. Start in Excel to make the table, copy it to word and save it as RTF. Then you can insert the RTF file into LayOut. The borders/lines may be a challenge because the RTF file doesn't do a good job of saving borders.

                                      I've found a way to bring the files in by their tab lengths, without bringing in the borders, which I was having trouble with.

                                      In my case I'm taking an excel file and copying and pasting the table into Word. I then select the entire table and click on the developer tab that lights up in the main bar. There is a button there that converts the table to text! Save the word file as RTF and link inside layout for a relatively seamless workflow.

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

                                        Although I don't use the Developer tab, I do much the same. I copy the table from Excel into Word, convert table to tab-separated text and save as RTF. Actually there's often a bit of editing in word for formatting and setting tabs and so on. I did two of those today, in fact.

                                        Etaoin Shrdlu

                                        %

                                        (THERE'S NO PLACE LIKE)

                                        G28 X0.0 Y0.0 Z0.0

                                        M30

                                        %

                                        1 Reply Last reply Reply Quote 0
                                        • KrisidiousK Offline
                                          Krisidious
                                          last edited by

                                          you can copy and paste excel tables straight into layout.

                                          By: Kristoff Rand
                                          Home DesignerUnique House Plans

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

                                            Yeah, but they're ugly.

                                            Etaoin Shrdlu

                                            %

                                            (THERE'S NO PLACE LIKE)

                                            G28 X0.0 Y0.0 Z0.0

                                            M30

                                            %

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

                                            Advertisement