I am currently using the UF_WEIGHT_estab_part_props to get the Center of Mass and Moments of inertia for assemblies. This API is returning me the values based on absolute co-ordinate system.
The menu command in NX (Analysis->Advanced Mass Properties->Advanced Weight Management) gives the results based on the currently used WCS.
I also need to get the results based on the the WCS using a API.
Any suggestions would be helpful.
>> It does not take part/assembly tags, instead it takes solid bodies.
If you would like to assert values (e.g. enter them manually), then the API does take part / component tags.
There is also an option to define a reference set containing the bodies for which to calculate the weight data with; see UF_WEIGHT_set_part_ref_set.