Obtain Stock dimensions Obtain Stock dimensions jloeff (Mechanical) (OP) 27 Oct 03 13:18 Is there a way in 2004 to obtain stock size of a part?...The largest x, y, & z values? RE: Obtain Stock dimensions SBaugh (Mechanical) 27 Oct 03 14:21 Are you talking about Basic tolerance dimensions?Regards, Scott Baugh, CSWP3DVision Technologieshttp://www.3dvisiontech.comhttp://www.scottjbaugh.comFAQ731-376When in doubt, always check the help RE: Obtain Stock dimensions TheTick (Mechanical) 27 Oct 03 14:27 API calls that may help:Body2::GetBodyBoxPartDoc::GetPartBoxAssemblyDoc::GetBoxHowever, 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 jloeff (Mechanical) (OP) 27 Oct 03 14:57 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 TheTick (Mechanical) 27 Oct 03 15:21 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 rockguy (Mechanical) 29 Oct 03 16:31 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 rockguy (Mechanical) 29 Oct 03 16:33 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 CorBlimeyLimey (Mechanical) 5 Nov 03 22:56 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.