Does this plugin exist??

Does this plugin exist??

Postby thegreek87 » Wed Feb 08, 2012 12:03 pm

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
0

thegreek87 
 

Re: Does this plugin exist??

Postby TIG » Wed Feb 08, 2012 12:12 pm

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 ?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Does this plugin exist??

Postby thegreek87 » Wed Feb 08, 2012 9:42 pm

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.
0

thegreek87 
 

Re: Does this plugin exist??

Postby thegreek87 » Fri Feb 10, 2012 8:55 pm

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
0

thegreek87 
 

Re: Does this plugin exist??

Postby TIG » Sat Feb 11, 2012 5:01 pm

This should do what you want...
dcpricer.rb
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.
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Does this plugin exist??

Postby thegreek87 » Tue Feb 14, 2012 9:08 am

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
0

thegreek87 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: kotnguyen and 15 guests

Visit our sponsors: