Yes that is correct, but i have just found that when someone changes the material the density in the formula changes to density_DELETED and the mass does not update anymore (i also dont think the people i work with would actually know how to correct the formula or would bother to)...
But these are still static values arent they? When the volume of the body changed the macro would have to be run again to update the values?
I can get the mass and density values via vba.
I can create a formula and parameters and relations to link those parameters to user properties on the...
How do i setup a volume measurement in vba (that wont require someone to run a macro to update the volume value when the body gets changed)?
I thought volume was part of the InertiaVolume measurement?
Unfortunately not. This gives a static measurement (you have to rerun it everytime you change the body to get the updated value).
I think i phrased the question badly.
I want to create (and keep) an inertia measurement (the InertiaVolume.1 etc.. measurment that appears in the hierarchy tree)...
I need to create and keep a mass measurement (so that it will update a formula as the mass changes) using catvba.
I can do the formula with catvba but i cannot see how to create the measurement with catvba.
Any ideas?