SketchUcation Plugin Store

 

 

[Plugin] Dynamic Component BOM

[Plugin] Dynamic Component BOM

Postby JonD » Wed Jan 06, 2010 6:30 am

Ok...this is my first script that I thought I would share. The attached script will generate a summarized list (Summary BOM) of dynamic components that have a value in the ItemCode attribute. It will also record the Description DC attribute. By default the script will create an HTML report, but it will create a csv by just changing the extension to '.csv'.

Scott Lininger provided most of the base code, I just tweaked it around a bit. Thanks for the help Scott! This was my first attempt at a ruby script, so let me know if I have any completely wrong approaches here...

Jon
DComponentReporter.rb
Please, register (free) to access all the attachments on the forums.
Last edited by thomthom on Wed Jan 06, 2010 7:56 am, edited 1 time in total.
Reason: Edited the tag to "Plugin" for consistency - easier searching.
JonD
 
Posts: 20
Joined: Tue Mar 24, 2009 4:45 am
Name: Jon

Re: [Plug-In] Dynamic Component BOM

Postby thomthom » Wed Jan 06, 2010 7:54 am

I'm moving this to the Plugin section. ;)
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17568
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Dynamic Component BOM

Postby JonD » Wed Jan 06, 2010 2:37 pm

Thanks...I am not familiar with the script submission process on Sketchucation. Is there information on the website on how to submit?

Jon
JonD
 
Posts: 20
Joined: Tue Mar 24, 2009 4:45 am
Name: Jon

Re: [Plugin] Dynamic Component BOM

Postby thomthom » Wed Jan 06, 2010 2:40 pm

hmm... think the only thing is this stickie: viewtopic.php?f=323&t=23989
But it was in the Plugin section - since you went to the Developer section you would not have seen it.

The division between Plugin and Developer section is rather new. Still evaluating how it works.

If you got ideas to the organisation or what info would be useful to new users - please let us know. :geek:
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17568
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Are you a Premium Member? Get your freebies here. Are you not a Premium Member yet? Upgrade your account to grab these freebies instantly.

Ad Machine
Robot
 
Posts: 2012


Return to Plugins

Who is online

Users browsing this forum: No registered users and 7 guests