• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

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.
  • J Offline
    jim78b
    last edited by 18 Nov 2011, 08:32

    cAn anyone help me, i want createin layout a table with itemno.description weight material etc there is a solution?

    1 Reply Last reply Reply Quote 0
    • D Offline
      Dave R
      last edited by 18 Nov 2011, 11:16

      When I need a table in a LayOut project, I use MSWord or antoher text editor and save it as an RTF file. Then I insert it into LO. It is editable in LO but if you edit it in the woord processor, you'll have better control. Just right click on it and get the option to edit it.

      Here's an example of a table I made that way.


      http://farm7.static.flickr.com/6220/6357703547_6c31d94a49.jpg

      For my use the table is initially created directly from the model as a CSV file. I open it in Excel and edit the table as needed before copying and pasting to Word for final formatting.

      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 19 Nov 2011, 07:54

        mhhthank forreply verymuch!i needatable like the image below...
        i needthath sketckupupdate table for weight and various measures,can i do it?

        firstthink i shall maketablein exceland then export in csv?


        table

        1 Reply Last reply Reply Quote 0
        • D Offline
          Dave R
          last edited by 19 Nov 2011, 12:14

          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.


          Marca1.png


          Marca2.png

          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 19 Nov 2011, 15:07

            WELL, buthow i can update table in automation, exi draw a 120x170 sheet and i want this measure in my table, i shall work with attributes? if it is so how i can?thanks

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dave R
              last edited by 19 Nov 2011, 15:54

              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
              • T Online
                TIG Moderator
                last edited by 19 Nov 2011, 16:52

                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
                • B Offline
                  bmike
                  last edited by 20 Nov 2011, 02:42

                  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
                  • T Online
                    TIG Moderator
                    last edited by 20 Nov 2011, 12:23

                    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
                    • D Offline
                      Dave R
                      last edited by 20 Nov 2011, 12:50

                      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
                      • T Online
                        TIG Moderator
                        last edited by 20 Nov 2011, 14:18

                        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 21 Nov 2011, 07:46

                          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
                          • D Offline
                            Dave R
                            last edited by 21 Nov 2011, 11:23

                            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 21 Nov 2011, 14:27

                              do you seemy problem?

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                Dave R
                                last edited by 21 Nov 2011, 14:31

                                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 21 Nov 2011, 14:34

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

                                  Gai...

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    Dave R
                                    last edited by 21 Nov 2011, 14:39

                                    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 21 Nov 2011, 16:52

                                      excuse me i use pro version.

                                      1 Reply Last reply Reply Quote 0
                                      • T Online
                                        TIG Moderator
                                        last edited by 21 Nov 2011, 22:24

                                        @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
                                        • D Offline
                                          Dave R
                                          last edited by 21 Nov 2011, 22:36

                                          Thanks TIG.

                                          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
                                          1 / 2
                                          • First post
                                            3/27
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement