cgluyas
Mechanical
- Feb 19, 2002
- 5
Wildfire 2.0.
I am trying to assign mass properties to parts without having to use a analysis feature as I only have a foundation license. So far I have managed it with parts using this relation:-
MP_DENSITY=0.0000000079
if (PART_MATERIAL=="316STST")
MP_DENSITY=0.0000000079
if (PART_MATERIAL=="304STST")
MP_DENSITY=0.0000000079
if (PART_MATERIAL=="ALUMINIUM")
MP_DENSITY=0.000000002643
if (PART_MATERIAL=="RUBBER")
MP_DENSITY=0.000000001506
if (PART_MATERIAL=="Undefined")
MP_DENSITY=0.0000000079
ELSE
MP_DENSITY=0.0000000079
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
PART_MASS=PRO_MP_VOLUME*MP_DENSITY
PART_WEIGHT=PART_MASS
PART_DENSITY=MP_DENSITY
MATERIAL=PART_MATERIAL
Which works fine. However for assemblies I have this relation
mp_density=pro_mp_density
part_density=mp_density
part_mass=pro_mp_mass
part_weight=part_mass
material=part_material
and it doesn't always work, the pro_mp_density often picks up on the pro_mp_density of the part, not the mp_density. It also does not alter on regenneratin.
Is there a better way of doing this?
Craig
I am trying to assign mass properties to parts without having to use a analysis feature as I only have a foundation license. So far I have managed it with parts using this relation:-
MP_DENSITY=0.0000000079
if (PART_MATERIAL=="316STST")
MP_DENSITY=0.0000000079
if (PART_MATERIAL=="304STST")
MP_DENSITY=0.0000000079
if (PART_MATERIAL=="ALUMINIUM")
MP_DENSITY=0.000000002643
if (PART_MATERIAL=="RUBBER")
MP_DENSITY=0.000000001506
if (PART_MATERIAL=="Undefined")
MP_DENSITY=0.0000000079
ELSE
MP_DENSITY=0.0000000079
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
PART_MASS=PRO_MP_VOLUME*MP_DENSITY
PART_WEIGHT=PART_MASS
PART_DENSITY=MP_DENSITY
MATERIAL=PART_MATERIAL
Which works fine. However for assemblies I have this relation
mp_density=pro_mp_density
part_density=mp_density
part_mass=pro_mp_mass
part_weight=part_mass
material=part_material
and it doesn't always work, the pro_mp_density often picks up on the pro_mp_density of the part, not the mp_density. It also does not alter on regenneratin.
Is there a better way of doing this?
Craig