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

    Attributes - Export / Create More / Linking with Database ?

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    38 Posts 10 Posters 6.7k Views 10 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      Here's v1.5
      http://www.sketchucation.com/forums/scf/viewtopic.php?p=6688#p6688
      Areas are now in current units... however there is guidance on how to set areas to sq m if you work in mm etc...

      TIG

      1 Reply Last reply Reply Quote 0
      • G Offline
        gata
        last edited by

        Due to the excitement of the moment I thought the written to announcement showed up at the beginning - not the end. All is well.

        TIG, looks like you, Al, and vendmr are giving me a reason to delve into Excel. The ability to make custom, update-able XLS could indeed be very useful.

        Recent we made a bunch of custom doors and jams. On the most part the rough opening measures and count recorded in an Excel file where correct. But somehow the people fabricating everything were often given drawings with incorrect sizes and hinge side location.

        Some of my current projects includes domed ceilings and adding faux beams to a groin vault. If thing were originally laid out in SU, I wouldn't have to fudge things to fit now.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Howard leslie
          last edited by

          TIG,
          ComponentReporter+ V 1.5
          Outstanding script.
          The parentage / outliner type report - very useful addition also.
          ...
          The deep mining ability seems to work well after an initial (tough) trial:

          42 MB Model (this includes 2 x Xref'd models)
          Layers 30
          Component Definitions 921
          Component Instances 7650
          Groups 3410
          ...
          V 1.5 went to work - 30 seconds in total to produce all reports (ie very quick).
          So far the script looks really good and appears to be working well.
          ...
          A Massive Thank You for all your hard work in producing this script.
          ...
          Regards
          Howard Leslie

          1 Reply Last reply Reply Quote 0
          • H Offline
            Howard leslie
            last edited by

            Modelhead,
            You asked about what you can do with this script.
            ...
            Increasingly clients ask for information and data related to a model - not just a pretty picture of the actually geometry / 3D views etc.
            Producing a model is really just the start, not the end point in many instances.
            ...
            Currently SU is very limited in what attributes you can attach to elements (groups / components) in a model:
            Layer,Definition Name,Instance Name,Material
            ...
            In SU you could give a Steelwork Member for example the following attributes:
            Layer = 7F (7th Floor)
            Definition = RSJ_10x4x25 (Component Name for Steel Beam for Example)
            Instance = 1234 (Beam ID No.)
            Material = Steelwork
            ...
            Draw entire model using all your pre-drawn Steelwork Components
            ...
            Run TIGs Script
            ...
            Now you can query the CSV (XLS) Table in many ways eg
            Filter by Floor Level - All Steelwork will be listed out (used to calc floor loadings)
            How many Beams / Columns of a particular size does a building have ???
            etc etc
            You can now also run calcs and statistics on the components as you have a count of quantities.
            TIGs script allows you to select and report by area so you can restrict the report to a given area / floor level etc.
            ...
            Equally valid for working out quantities for regular domestic buildings / constructions
            (depending upon how you draw / set your model up).
            ...
            Material field can also be used to define contents eg pipeline contents:
            water (green)
            crude oil (grey)
            steam (blue)
            (ie not really material at all)
            etc
            etc
            ...
            What would be extremely useful for SU V7 and would be top of my personal wish list (although I'm probably in a minority):
            Ability to View Outliner as a Table.
            Ability to Link a Field in this Outliner Table (ie an ID number of a component) to an external Database / Table and Run Querys back to the Model.
            MASSIVE POTENTIAL.
            (I'd definitely put this above rendering ability - but its a purely personal view).
            ...
            Currently, unless you purchase expensive GIS software its not possible to do this with SU models.
            ...
            Hope this gives you something to think about / answers your question.
            Regards
            Howard L'

            1 Reply Last reply Reply Quote 0
            • G Offline
              gata
              last edited by

              I think I found another timely use for this script - ammunition.

              As I have mentioned above, there have been many expensive mistakes, mostly by the draftsmen/project managers. Myself and another person have been moved up to 'office' positions because we know how to make things. Today a 'CAD specialist' consultant was brought in to help fix the flow of information.

              I described things I did and the 'specialist' thought Inventor and Solid Works would be good: but expensive and with a long learning curve. He did not know SU but he doubted the usefulness of something free. I tried to correct his perception. I found his Inventor nonsense a bit funny since I rejected Inventor 3 years ago in favor of SU.

              So tonight I'm pulling together stuff to showcase this program - like how easy it is to layout a beamed, groin vault. And now this script adds a shinny, new weapon to my arsenal. So again, I thank you, very much.

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

                ...AND don't forget that my script only lists what is the basic built-in info within any SUP model. IF you were to give components (or any lesser or higher geometry a parts) 'attributes' then these are list-able too... Theoretically every single bit of a model could have a wealth of extra information attached to it via attributes - on a one by one basis - that could then be extracted for later use, or used in the way it interacts withother entities or the user.

                Examples of using attributes are the examples of Parametric shapes, or RickW's Windowizer - in which windowized faces 'know' they are windowized and generate an appropriate context-menu entry... OR my Xref Manager that has attributes inserted into Xref skp components (or even dwf/dwg inserts) and checks to see if they are still valid or have been changed since the last insertion. It also has a method (for PC only at present since Macs vary in the way the Ruby runs at startup - but that should be fixed), whereby an attribute is attached to the whole model which then tells Xref Manager on startup if it's to check if Xrefs need updating IF you have set it to do so previously in a simple dialog...

                This approach could be the basis of of full BIM BUT it needs a lot of work...

                TIG

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

                  Here's v1.6.

                  It sorts out file/folder paths slightly differently, which might avoid the Mac crash. It also corrects the typo in a dialog reported by Didier...

                  301 Moved Permanently

                  favicon

                  (www.sketchucation.com)

                  TIG

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

                    @chris fullmer said:

                    Sorry for the merciless posting, but I keep finding more ane more info. here are some more posts that might help:

                    http://groups.google.com/group/Sketchup-Pro/browse_thread/thread/9242c9429d3dc3a0/754c90c334e8b166?

                    maybe its just best to see his list of "recent" posts (almost all more than 1 year ago):

                    http://groups.google.com/groups/profile?enc_user=dBZQRC0AAADrKYJCy23l_B_tTNWoz9s8yGzHjBTZvc1iShxKUVKWXBAfoBIqgx7MfQ9lVhABEmo

                    again, hope it helps.

                    Chris

                    integrating Google Spreadsheets with Google SketchUp
                    http://forum.sketchup.com/showthread.php?p=499535#post499535

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

                      But the links seems to be dead

                      1 Reply Last reply Reply Quote 0
                      • jujuJ Offline
                        juju
                        last edited by

                        @sekar24 said:

                        But the links seems to be dead

                        so is*** Google ***SketchUp

                        Save the Earth, it's the only planet with chocolate.

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

                        Advertisement