Script for Report on Name and Amount of Components
-
...i just can't seem to get it right.
it tried several scripts so far, but none have given me the desired output.
i even used the generate report function withing SU7PRO.what i want is this:
i would liket to select a group or component or several things within a SU model,
then run a script within SU that asks me where to put the file and how to name it.
it should give me one of the following:
.CSV with attributes NAME and AMOUNT
or
.TXT same as above
or
.PDF (would be nicest)i need no other attributes.
the thing is i could us componentreport.rb, but it creates a default within a fixed folder.
i could use componentreporter+, but it wont list me the amounts.
i could use the generate report from SU7, but it wont list me the amounts.and i have to vreate a lot counts from different parts of my models..
what should i do?
thx 4 any kind of advice...
-
what i do with the reports:
i need to make lists of parts within my models to give them to someone else
to be able to order the right amounts...of whatever i select within SU -
i already had v1.6.
works prety good thanks
maybe i could also use the additional listing of LAYER attributes.
it creats a component report, which tells me names and amounts.
it creates an instance report, which tells me which layer its on.could i maybe create a combination?
=.csv telling me NAME; NUMBER; LAYER ?
thx alot...
-
while we're at it.
how can i make it ask me where to put the file? -
okay thanks very much

i'll give the modification a try .... -
@unknownuser said:
already had v1.6.
works prety good thanksThat v1.6 was ComponentReporter+ this is ComponentReporter++ (v1.1) that does slightly different things...
It puts the reports in the same folder as the model...
You could hack a UI.openpanel() to get the folder from a picked file in it ?
I've tried to write it so it's reasonably self-evident - try small tweaks to see if you can do what you want....
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement