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

    Does this plugin exist??

    Scheduled Pinned Locked Moved Plugins
    6 Posts 2 Posters 433 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.
    • T Offline
      thegreek87
      last edited by

      I am looking for a plugin that allows me to get a total cost of all dynamic components within a model, without having to generate a new report each time.

      I have applied a cost to each dynamic component, what may make it more difficult is that there are at least 10 components nested within each component.

      I design heat recovery ducting systems and generating a report each time we make a change becomes rather time consuming.

      Or if anyone can think of any alternative workarounds it would be greatly appreciated.

      Nick

      http://www.nicholasvaisey.co.uk/.

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

        There's nothing 'off-the-peg', but it'd be quite straightforward to code something, to process a selection OR to find every instance of every DC in the SKP and extract a 'cost' attribute, finally totaling up these 'costs' in a simple message-box...
        It depends on how your DCs are structured and if they all use the same 'cost' attribute key etc.
        Do you have a simple example SKP that you could post ?

        TIG

        1 Reply Last reply Reply Quote 0
        • T Offline
          thegreek87
          last edited by

          Hello Tig, simple for you maybe 😄 , but thank you for getting back to me so quick. As soon as I get into work tomorrow I will upload an example.

          http://www.nicholasvaisey.co.uk/.

          1 Reply Last reply Reply Quote 0
          • T Offline
            thegreek87
            last edited by

            Hello Tig,

            Please find SKP file attached.

            What I can possible foresee complicating things is that they use different cost attributes, as you so quite rightly pointed out.

            In order to get a cost for the lengths of ducts I have used =(LenZ*cost)/100, where as all other components are just a figure.

            If you can provide me with any sort of help at all I would forever be in your debt.

            Nick


            hrv comps.skp

            http://www.nicholasvaisey.co.uk/.

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

              This should do what you want...Put into the Plugins folder and restart Sketchup; follow the simple instructions... Copyright 2012 (c), TIG
              All Rights Reserved.
              THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
              WARRANTIES,INCLUDING,WITHOUT LIMITATION,THE IMPLIED WARRANTIES OF
              MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

              dcpricer.rb

              Usage:
              Finds all DCs in a model and reports their hidden==false subcomponent's
              attribute 'price', if any...
              Written specifically for 'thegreek87', but readily customizable.
              Type in the Ruby Console: TIG.dcpricer
              OR
              Plugins Menu: 'TIG.dcpricer'

              Writes "ModelName_DCprices.csv" file with the model and opens it,
              showing sorted/itemised-prices + grand-total.

              Donations:
              PayPal.com - info @ revitrev.org

              Version:
              1.0 20120211 First release.

              TIG

              1 Reply Last reply Reply Quote 0
              • T Offline
                thegreek87
                last edited by

                Hi Tig, works a treat : )...no more having to wait for a report to generate.

                I am forever in your debt, if you ever need any modelling or rendering done, send me a message. cheers

                http://www.nicholasvaisey.co.uk/.

                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