14 Replies Latest reply on Nov 17, 2017 8:38 AM by Scott Boerman

    Part Quantity in Drawing

    Mário Neto

      Is it possible to make Solidworks show the total number of a particular part i have in an assembly in the drawing stamp of that part?

        • Re: Part Quantity in Drawing
          Amen Allah Jlili

          Yes, it's possible.

          • Re: Part Quantity in Drawing
            Viktor Bovzdarenko

            Hi Mario,

            Would a macro which adds a custom property with qty help you? Added custom property could be linked to your drawing.

            Regards

            Viktor

            • Re: Part Quantity in Drawing
              Viktor Bovzdarenko

              Please try "Add Quantity Property" task from #TASK library.

              It will count the number of components in particular assembly and add a property to each part. You will still need to modify your drawing sheet template. For existing drawings you can quickly replace all sheet templates with another task in the library.

              Hope this can help.

              Regards

              Viktor

               

              • Re: Part Quantity in Drawing
                Scott Boerman

                Very nice Macro, Vicktor Bovzdarenko, thank you!   I did some testing, it seems to work well with one concern:  I use some items (or just some instances of items) that have the component property "Exclude from bill of material" selected.  The macro ignores this, and includes them in the QTY count, so the macro-reported QTY does not match the desired BOM-reported property.  Is it possible to not include all instances/items that are "excluded from bill of material"?

                Thanks - Scott

                  • Re: Part Quantity in Drawing
                    Viktor Bovzdarenko

                    HI Scott,

                    Thank you for your great idea. I will apply this change shortly.

                    Regards

                      • Re: Part Quantity in Drawing
                        Mário Neto

                        It worked just really fine, perfect.

                        Just for asking, do you have any idea on how much will the pro version cost? Will it be monthly, yearly or One-time-only buy? And any prevision on the day of release?

                          • Re: Part Quantity in Drawing
                            Mário Neto

                            One more thing,

                            I have lots of sub-assemblies inside the main assembly, how can i make the quantity property show the total number of parts, not in the sub-assembly, in the main one?

                              • Re: Part Quantity in Drawing
                                Viktor Bovzdarenko

                                Hi Mario,

                                Thank you for your interest.

                                Regarding showing the quantity of the components relatively to main model:

                                At the moment when you run the task for particular assembly then task will calculate for this assembly total instances of components (including all components in subassemblies). Therefore, if you run the task for main assembly then the QTY property will be calculated as a total number of components in this assembly and subassemblies. If you run the task only for subassembly, then the components will be calculated only in scope of current assembly.

                                Another option is to run the task for several subassemblies and select an option to 'Append' QTY. But be carefull with this option as there already could be some values from previous projects in document properties which you do not want to append.

                                 

                                Please find below the details related to the subscription packages that were are planning to introduce in future.

                                1. a.    a. Standard Free: All Macros that were existing in Online Library before are now available under Standard Subscription Plan so you can continue to use them under the free Standard account. By Default all Existing Users and any new Users Registering to #TASK will be on this account by default. However, User can choose to Upgrade to access more macros in our library (such as Export BOM, Copy Document Settings and Copy Material Properties). Users under Standard account also have permission to trial any macro in Professional or Premium Plan that are marked as “BETA” (currently all our Professional tasks are in beta testing period).
                                2. b.    b. Professional (Approximate price $100 AUD or 75$  USD per user per year): Users Subscribed to Professional Plan will have access to more Professional Macros and plugins and also to ones under Standard Plan. Users will have access to Trial Premium Level macros marked as “BETA”.

                                 

                                Regards

                                Viktor

                          • Re: Part Quantity in Drawing
                            Viktor Bovzdarenko

                            Hi Scott,

                            Thank you again for your contribution.

                            Requested change was applied. Task does not count excluded from BOM components (and their dependencies). Task will show a message with a list of all ignored components so that you can double check that macro worked as it supposed to work.
                            Also an option was added (not selected by default) to count those components even if they were excluded from BOM.

                             

                             

                          • Re: Part Quantity in Drawing
                            Scott Boerman

                            Hi Viktor, there is one situation that may prevent the effective use of the QTY property.

                             

                            For symmetry items (100% symmetrical, that is), a drawing is made for the “shown hand but not for the “opposite” hand.   Previous practice is for the shop personnel to hand-mark all drawings with the qty to make, maybe 1, or 2, or “1/1” which is shorthand for 1 shown and 1 symmetrically opposite.

                            With the opportunity to automate the QTY on the drawings (great improvement!) the symmetry items will not be captured on any drawings with the “QTY” property, which is not good of course.  Here’s a thought, not sure if it is practical or not.

                             

                            For file naming of mirrored parts within SW, there is the options to specify a custom prefix or suffix to name the mirrored parts.  For example the shown part could be 1234-003 block, and the mirror 1234-003 blockmirror, or mirror1234-003 block, or 1234-003 blocksymmetry, 1234-003 block%, etc

                            Is it possible to make a “QTYOPP” property which is applied to the shown hand of the part, with the number being the quantity of usages of the opposite handed part?  This would apply to any mirrored parts which have the same base file name as the shown hand, but with either a prefix or suffix that matches a user-specified argument. The key is that this QTYOPP property counts the opposites, but is applied to the shown version of the component.

                             

                            Of course the same handling of suppressed and “excluded from BOM” components would still be needed for the mirrored items.

                             

                            Sometimes it’s difficult to convey with words, let me know if this is not clear and I can try to explain/show differently.

                            Thanks for considering - Scott