NXOpen.UF.Weight.Properties Structure

NXOpen.UF.Weight.Properties is an alias for NXOpen.UF.WeightProperties_Struct

class NXOpen.UF.WeightProperties_Struct

Bases: object

Refer to UF_WEIGHT_properties_s for documentation.

Fields

NXOpen.UF.WeightProperties_Struct.Units the units in which the rest of the data is returned
NXOpen.UF.WeightProperties_Struct.CacheState the state of the returned data. This can be UF_WEIGHT_no_cache if the data was not available, UF_WEIGHT_cached if it was calculated from geometry or other properties, UF_WEIGHT_asserted if it was directly asserted, and UF_WEIGHT_inherited if it was data on a component found from an assertion on a part. It cannot be UF_WEIGHT_implied or UF_WEIGHT_unknown.
NXOpen.UF.WeightProperties_Struct.Accuracy the accuracy of the calculated data when the cache_state is UF_WEIGHT_cached, in which case it must be 0.9, 0.99, 0.999, 0.9999, 0.99999 or 0.999999. It is 1.0 if the cache_state is UF_WEIGHT_asserted or UF_WEIGHT_inherited, or if no solids were involved in the calculation.
NXOpen.UF.WeightProperties_Struct.Density the density of the data, equal to mass/volume. This is 0.0 if the density_state is UF_WEIGHT_unknown.
NXOpen.UF.WeightProperties_Struct.DensityState the state of the density data. This is normally the same value as cache_state, but it can be UF_WEIGHT_unknown or UF_WEIGHT_implied if the cache_state is UF_WEIGHT_asserted or UF_WEIGHT_inherited.
NXOpen.UF.WeightProperties_Struct.Volume the volume of the data, equal to mass/density. This is 0.0 is the density_state is UF_WEIGHT_unknown.
NXOpen.UF.WeightProperties_Struct.VolumeError the estimated error range for the volume, in the same units as the volume.
NXOpen.UF.WeightProperties_Struct.VolumeState the state of the volume data. This is normally the same value as cache_state, but it can be UF_WEIGHT_unknown or UF_WEIGHT_implied if the cache_state is UF_WEIGHT_asserted or UF_WEIGHT_inherited.
NXOpen.UF.WeightProperties_Struct.Mass the mass of the data, equal to volume x density. This is 0.0 if the mass_state is UF_WEIGHT_unknown.
NXOpen.UF.WeightProperties_Struct.MassError the estimated error range for the mass, in the same units as the mass.
NXOpen.UF.WeightProperties_Struct.MassState the state of the mass data. This is normally the same value as cache_state, but it can be UF_WEIGHT_implied if the cache_state is UF_WEIGHT_asserted or UF_WEIGHT_inherited.
NXOpen.UF.WeightProperties_Struct.Area the surface area of the data.
NXOpen.UF.WeightProperties_Struct.AreaError the estimated error range for the surface area, in the same units as the area.
NXOpen.UF.WeightProperties_Struct.AreaState the state of the area field. This is normally the same value as cache_state, but it can be UF_WEIGHT_unknown if the cache_state is UF_WEIGHT_asserted or UF_WEIGHT_inherited.
NXOpen.UF.WeightProperties_Struct.CenterOfMass the X, Y and Z co-ordinates of the center of mass, in absolute co-ordinates. These are set to 0.0 if the cofm_state is UF_WEIGHT_unknown.
NXOpen.UF.WeightProperties_Struct.CofmError the estimated error range for the center of mass, in the same length units. This represents the radius of a sphere of uncertainty drawn around the center of mass.
NXOpen.UF.WeightProperties_Struct.CofmState the state of the center of mass field. This is normally the same value as cache_state, but it can be UF_WEIGHT_unknown if the cache_state is UF_WEIGHT_asserted or UF_WEIGHT_inherited.
NXOpen.UF.WeightProperties_Struct.MomentsOfInertia the XX, YY and ZZ moments of inertia about the center of mass (in that order), using absolute co-ordinates. These are set to 0.0 if the mofi_state is UF_WEIGHT_unknown.
NXOpen.UF.WeightProperties_Struct.ProductsOfInertia the XY, XZ and YZ products of inertia about the center of mass (in that order), using absolute co-ordinates. These are set to 0.0 if the mofi_state is UF_WEIGHT_unknown. These values follow the mathematical convention that the products of inertia are usually negative, unlike the convention followed by most engineers.
NXOpen.UF.WeightProperties_Struct.MofiError the estimated error range for the moments and products of inertia, in the same units. This represents the +/- variation in each value.
NXOpen.UF.WeightProperties_Struct.MofiState the state of the moments and products of inertia field. This is normally the same value as cache_state, but it can be UF_WEIGHT_unknown if the cache_state is UF_WEIGHT_asserted or UF_WEIGHT_inherited.