• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Script for Report on Name and Amount of Components

Scheduled Pinned Locked Moved Developers' Forum
6 Posts 2 Posters 320 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    artofseeing
    last edited by 9 Apr 2009, 15:27

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

    as long as there is a voyage away, there's always a journey back...

    http://artofseeing.carbonmade.com

    1 Reply Last reply Reply Quote 0
    • A Offline
      artofseeing
      last edited by 9 Apr 2009, 15:29

      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

      as long as there is a voyage away, there's always a journey back...

      http://artofseeing.carbonmade.com

      1 Reply Last reply Reply Quote 0
      • A Offline
        artofseeing
        last edited by 9 Apr 2009, 16:18

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

        as long as there is a voyage away, there's always a journey back...

        http://artofseeing.carbonmade.com

        1 Reply Last reply Reply Quote 0
        • A Offline
          artofseeing
          last edited by 9 Apr 2009, 16:19

          while we're at it.
          how can i make it ask me where to put the file?

          as long as there is a voyage away, there's always a journey back...

          http://artofseeing.carbonmade.com

          1 Reply Last reply Reply Quote 0
          • A Offline
            artofseeing
            last edited by 9 Apr 2009, 19:27

            okay thanks very much 😄
            i'll give the modification a try ....

            as long as there is a voyage away, there's always a journey back...

            http://artofseeing.carbonmade.com

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 9 Apr 2009, 22:03

              @unknownuser said:

              already had v1.6.
              works prety good thanks

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

              .

              TIG

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                1/6
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement