Member Login

Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Eng-Tips
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Obtain Stock dimensions

Obtain Stock dimensions

Is there a way in 2004 to obtain stock size of a part?...
The largest x, y, & z values?

RE: Obtain Stock dimensions

API calls that may help:


However, these are limited to generating the model bounding box w.r.t. planes normal to X, Y, and Z axes.

It might be feasible to work around this by putting a part into an assembly and change the part's orientation to affect the assembly's boundng box.

If the ladies don't find you handsome, they should at least find you handy.

RE: Obtain Stock dimensions

How would I go about using these API commands to link the stock sizes to my BOM? Currently I have to measure each part and then manually enter the stock size. I would rather have it automated if possible.

RE: Obtain Stock dimensions

Perhaps using a "macro feature", which is a feature that references a specific macro procedure.

For me, that is uncharted territory, so I can't be of much more help than suggesting that.

RE: Obtain Stock dimensions

This is how I do it.  Once I have my part modeled I measure the x-y-z lengths.  Do not do this is a sketch.  Just use the measure tool to dimension.  The dimensions will show on the part.  Next I create a custom property called overall size.  I populate the custom property by clicking the dimensions in the graphics area.  Next go to the annotaions folder at the top of the tree and right mouse click.  Select turn off annotaions.  The dimesions dissapear.  You need to create a custom BOM template with a field for the value in my case the field is called "overall size"  When you insert the BOM into a drawing that field will be automatically populated with the dimensions you picked.  You can also use the custom property in other places like the drawing title block.  

The dimensions are fully linked to the part and if the part changes the dimensions will update to reflect the change.  Other than a macro this is the only way I know of doing this.

RE: Obtain Stock dimensions

Sorry.  I said "just use the measure tool to dimesion".  That was incorrect.  Dimension the part using the dimension tool (same one you would use if dimensioning a sketch)just don't do it in a sketch.

RE: Obtain Stock dimensions

An alternative to Rockguy's method is to start the main body of the model with the "stock size" lump of material and then manipulate or "machine" it as you would on the shop floor.
The stock size lump xyz dimensions can then be referenced (as Rockguy states)into the customized BOM or anywhere else you require.

Red Flag This Post

Please let us know here why the post below is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close