Does this plugin exist??
-
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
-
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 ? -
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.
-
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
-
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.orgVersion:
1.0 20120211 First release. -
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
Advertisement