NXOpen.UF.Weight.EstabPartProps1

Weight.EstabPartProps1()

Refer to UF_WEIGHT_estab_part_props1 for documentation.

Signature: EstabPartProps1(part, accuracy, recurse, units)

Parameters:
  • part (Tag) – The part whose weight properties are to be established.
  • accuracy (float) – The accuracy to which the part’s properties are to be calculated.
  • recurse (bool) – True if the properties are to include components of the part, false otherwise.
  • units (NXOpen.UF.Weight.UnitsType Refer to UF_WEIGHT_units_type_e for documentation.) – The units in which the properties are to be returned.
Returns:

A Tuple

Return type:

A tuple consisting of (properties,exceptions)

properties(`NXOpen.UF.Weight.Properties Refer to UF_WEIGHT_properties_s for documentation.`): The established properties of the part.

exceptions(list of ``NXOpen.UF.Weight.Exceptions` Refer to UF_WEIGHT_exceptions_s for documentation.`): Any exceptions encountered during the calculation. This must be freed by calling UF_WEIGHT_free_exceptions.

License requirements: ADVANCED ASSEMBLIES