Skip to main content
15-Moonstone
Nov 24, 2015 2:15 PM UTC
Question

repeat region summation parameter in assembly relations

I am totally stuck on this.

In a repeat region I have used the summation command to get the total weight, but only being able to use this value in the current drawing is only half of what I need it to do.

I need to have the total weight of an assembly to be in the assembly relations.

I have made a mapkey but what I'm looking for is something fully automated.

Does anyone know how to do this?

here is another thread but I think the customization group might have some good insight.

Repeat region summation.

Maybe using a vb.net program to do this to all drawings all at once?

Thank you for your time.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

8 replies

24-Ruby III
Nov 24, 2015 3:07 PM UTC

Hi,

assembly weight is saved in system PRO_MP_MASS parameter.

mass.png

MH

Translate
SYNDAKIT15-MoonstoneAuthor
15-Moonstone
Nov 24, 2015 3:24 PM UTC

Hi Martin good to hear from you.

yeah I really like that solution but I hit a road block because of how it uses quantity; here are some examples.

on the part level i change the source to be parameter, then I add weight=pro_mp_mass or maybe I did weight=pro_mp_alt_mass.... but anyway...

if there is an item that has a quantity of (7) and weights .5 Lbs, the weight for that item 7@.5lbs=3.5  and where I work they want to calculate the weight by doing this.... floor((weight*qty)+.5).   and so i tried putting that at the part level something like this--->  weight=floor(pro_mp_mass+.5)

that would give me weight=1 at the part level, then the assembly level would be a total of 7 Lbs. when what my company wants is  4 Lbs

  so that brings me to the quantity issue. if there were some way to pull quantity i could do the weight at the assembly level, but then I would just be back to manually entering weights for newly assembled parts.

grrr... I'm so close to having this fully automated

Translate
24-Ruby III
Nov 24, 2015 3:35 PM UTC

Use weight=pro_mp_mass + 0.5 / 7

Translate