Hello Bob,
Bob wrote:
>> i have made a formula that works similar to yours, instead of using d0, d1, d3, i use AMVARS like PL, PW, PH, PD. With PD recognized in a part the Size will show the diameter.
>> i.e. =IF(LTE((TD),""),part:PL " x "part:PW " x " part:PH,"Ø " TD " x " TL)
>> results in Ø 10 x 10 if PD is detected, if not, L x W x H
>This looks like would work very well. Plus you don't need to sort them like I do. I thought about using AMVARS similar to that but 98% of my parts start out as an extruded rectangle so I never persued it.
>
Your solution with automatic variables save the work to use AMVARS, thanks for that input. I have setup the amvars in my template and in the AMOPTIONS,
Preferences Tab, Preset Values to have easier access to them. However, you could just use one amvar for the diameter to display round parts.
>>
>>>For some reason custom BOM standards cannot be put in your template file..
>>
>> you can run AMSYMSTD in your Template file, right click your Standard and copy it with i.e. Part or assemblies or purchased parts name extension.
>> Then run amoptions standard tab, choose the copied standard and dblclick the node partlist. Edit the partlist to show the coloums to fit your need.
>> When using this template you can switch the Partlists with AMSYMSTD.
>>
>Yes I was incorrect in my reasoning for putting my standards in a seperate file as opposed to the template file. The
>real reason I did this is it makes it easy to create a new standard and save it in a new "template" file with a new name
>ie: ...REV_C. I can then insert this new template file as a block and have access to the new standard. What I really
>should have said is you can't insert a standard as just a standard. It must be inserted using a drawing file as a
>container. This is a requirement when using old files or library parts that may have none of my current BOM standards.
>The only way to get the standards into these files is either to manually type it all in or insert them as part of a block.
I use AMSETUPDWG for such cases and choose the template with the standard.
>>
>> The MATERIAL i use from AMMASSPROP (mcad.mat) and submitted from VAL-table coloumn.
>> The WEIGHT i use a formula that uses PART:MASS (calculated from AMMASSPROP) which detects missing density
>> =IF(LTE((density),1),"nil",text(qty*PART:MASS,"0.00") & " kg")
>> To avoid weight display errors in BOM i have a Buttonmakro that update the ammassprop-calculation. Works fine for me.
>>
>> I have a question at this point,
>> To avoid density errors and double work for Standarparts from amstdplib i´d like to assume the density from their VAL table.
>> Do you or anybody else know how to write the density from VAL table (G_RHO) to the density Attibute (amassign) of the part, as the Material-Value does?
>> The material is linked from Val-table to Bom-Value "Material1" and somehow to MDT-Part Attribute.
>> The density is sent by default from Val-table to amvars (G_RHO) and custumizeable linkable to the Standard BOM-Values, density is not an Optional Coloumn in Val-Editor.
>> Is there any way to write the G-RHO density from amvars or from Standard BOM-Value (i.E. User1-8) to MDT-Part Density?
>>
>Now you lost me here. I am unfamiliar with what you refer to as the VAL-table column. Reason is I never use the standard
>parts. They are usually just dumb solids and I spend way too much time getting the BOM information configured for each
>part. Over the years I have created my own libraries of parts with real world BOM and mass property data. With very few
>exceptions these days, when I insert a part out of my library it is 100% ready to go with BOM and mass property
>information ready to go.
The BOM-information for the standard Parts is just one advantage for me of using standard parts. Even some of them are baseparts you can ampoweredit (or dblclick) them to choose another size from VAL-Table-Row. BOM-Info changes parametric. You can also work on the part with parametric features or even edit the basepart with a special BASE-Part-editing Toolbar.
>Fill me in a little on the VAL-table column.
If unknown, this (Optimizing Standard Parts) should fill you in a little.
http://usa.autodesk.com/adsk/servlet/link?siteID=123112&id=5357858&linkID=4183230
to see to which column of your BOM you can link a VAL column check Page 13 #7.
Check the dropdownfield marked with the blue arrow .
This example is for a new Column, existing VAL columns you can link to your BOM by activate the column and hit Strg+T
--
Best Regards
Peter