Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Is there a way to use a BOM's "rpt.qty" in a part drawing? I'd like to include the quantity in the part info table when I create drawings so I don' t have to manually enter it.
Wouldn't it always be a quantity of one?
I guess don't understand why you should need to reference the rpt.qty parameter in the drawing for an individual part. Can you explain a little more what you're trying to do?
Thanks,
Brian
hmmm...let me guess....sometimes we need to show the total quantity of that particular part, its individual weight and the total weight of the quantity...in the part drawing itself.
we have made drawings of individual parts with customer asking us to put the total quantity with the individual part drawing itself.....at present we do it manually.
Wow. In 25 years of engineering I've never had anyone ask for that before. In that case, no, there's no way to use the rpt.qty parameter in such a situation. I think you'll be stuck entering it manually.
You sort of need the assembly to tally the number of components.
Okay so now that I wrote that I realize maybe you can pull this off if you want to jump through hoops to get there.
You can make a repeat region in your part drawing, set the Model controlling the region to be some upper level assembly which contains all of the parts you wish to tabulate. Then you can set the region attributes to be recursive and filter out everything except the one item you're interested in.
The technique requires several things:
If you're willing to jump through these hoops you can probably get what you want. If you're willing to add in a few relations to your table, you can also calculate and display the total weight of all items.
Please excuse my initial dismissal of the idea that this can be done. Normally I don't throw in the towel so easily. I have to blame it on extreme fatigue. I working far over my capacity lately and I'm afraid it's affecting my ability to think creatively to solve problems.
I hope that helps...
Best regards,
-Brian
Just to be a bit more clear... I design injection molds and many components of the mold require more than 1. So I was hoping when I create individual dimensioned drawings of each mold component that there would be an easy way to automatically show how many components are required in the mold assembly.
What Brian posted above pretty much works.
I am a tool designer, and I use this method since the day zero. It required me to set up some relations in my repeat region, which took me a while, but it was well worth it.
So, there is a couple of things to add.
If you expect to get the quantity into a table cell, that is not part of the assembly repeat region, then you are going the wrong way. To show quantity in part drawings I recommend to use the same repeat region table that I use for assembly drawing BOM.
This repeat region needs to have recursive and no duplicates atributes, to show the right quantity.
If you are also bothered with the rpt index, or better said the position number of the part in an assembly, then you will have to define a parameter to sort the repeat region. The whole procedure should then go like this:
Regards,
~Jakub
So, essentially, for each component drawing, I need to load the bill of materials and filter/exclude all the other components except for that part. I was hoping there would be a quicker/easier way than that. Maybe someday PTC can figure something out.
All that bunch of clicking can be semi-automated with a couple of mapkeys.