Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pro/report - display units?

Status
Not open for further replies.

sbrats

Mechanical
Nov 27, 2005
47
Is there a way of to query the model or assembly member to display the units of the model.
Specifically I have a column in the BOM report that displays the mass of an item (pro_mp_mass) but I wish to display the units (lbs, grams, Kg)

Anyway of doing this?
 
Replies continue below

Recommended for you

Extract the pro_unit_mass parameter

pro_unit_mass

unit_pound, unit_ounce, unit_ton, unit_gram, unit_kilogram, unit_tonne

Sets the default units for mass for new objects.

--
Fighter Pilot
Manufacturing Engineer
 
I was looking for something different.. If the model is in kg - but the drawing has a format that shows the mass as grams , you would need to constantly change the format - some users will forget etc. So to lower the room for error I wanted to pull the model units and have them as a reported item

I found some info and put this together and I thought that I would pass it along..

The part/assembly needs to have a relation (for example)
mass=pro_mp_mass
this creates a parameter of 'mass'

also in relations you must select the option to make relations unit sensitive

Then in the format put...

&PRO_MP_MASS (&mbr.ptc_unit.mass)

this will produce --- .10 (kg)

if the mass unit in Kg (set in edit>setup>units)

You can also add a report value to a assembly report &asm.mbr.ptc_unit.mass - where mass is a user defined parameter

SB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor