[Request] - Component's options report
20 posts
• Page 1 of 1
[Request] - Component's options reportFrom this:
to this: Please, register (free) to access all the attachments on the forums.
Re: [Request] - Component's options reportIsn't that what you get from File -> Generate Report ? Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Request] - Component's options reportNot exactly - a lot of useless info, no quantities and only inches:
Please, register (free) to access all the attachments on the forums.
Re: [Request] - Component's options reportTIG has something but not exactly: http://rhin.crai.archi.fr/rubylibrarydepot/plugin_details.php?id=75
Re: [Request] - Component's options reportSo, nobody knows a way to use all this data that we can put in an dynamic component? I tried with Generate report but it's useless - with 60-70 components it freezes SketchUP and the report is a real mess! I think this attributes can be a shortest way to have some BOM inside SketchUP!
Re: [Request] - Component's options reportI'm keep on searching for a solution and found this - http://code.google.com/intl/bg/apis/sketchup/docs/tutorial_attrreporting.html
But getting error when trying to load it:
Re: [Request] - Component's options reportThere's an error in that published script !
I suspect that
TIG
Re: [Request] - Component's options reportWell TIG, I am not a coder but to my eyes, the two sniplets look exactly alike.
Edit; found the difference! ![]() Gai...
Re: [Request] - Component's options report' ' ' >> ' " '
One 'character' is all it takes to **** up a script - is there quality control at Google ??? TIG
Re: [Request] - Component's options report Please, register (free) to access all the attachments on the forums.
Re: [Request] - Component's options reportSketchUP's Generate Report freezes the program just at 1 components
But this script is working fine so far!! ![]() Please, register (free) to access all the attachments on the forums.
Re: [Request] - Component's options reportNow, that at least we can extract some data is there a way to filtered it. For instance to get components quantity and
Please, register (free) to access all the attachments on the forums.
Re: [Request] - Component's options reportI found a way to convert the inches, but the problem with counting components still remain. Any idea how to include this into the report?
Re: [Request] - Component's options reportStill hoping...
![]()
Re: [Request] - Component's options reportSince your example is written in 'Cyrillic' [?] it's hard to understand... Ddo you find the details of a component and also want to show a total number of it in the report - like on the Entity Info window ?
You need to find its definition and then its instances and count them, the format the html/csv to include the 'count' - something like...
You now have an array of selected [or all used] definitions by name, paired with the total of their instances.... So to output it to the Ruby Console use something like...
I'll leave the formating of the csv / html lines etc to you or others............. TIG
Re: [Request] - Component's options reportThanks so much! I made a component in English to show what I mean:
The report is a real mess and in inches, but I managed to clean it up in Excel. Please, register (free) to access all the attachments on the forums.
SketchUcation One-Liner AdvertsNeed SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp.
Premium Members get 20% discount!
20 posts
• Page 1 of 1
|