NXOpen.UF.Weight.AskPartMaxWeight

Weight.AskPartMaxWeight()

Refer to UF_WEIGHT_ask_part_max_weight for documentation.

Signature: AskPartMaxWeight(part, units)

Parameters:
  • part (Tag) – The part whose maximum weight limit is to be returned.
  • units (NXOpen.UF.Weight.UnitsType Refer to UF_WEIGHT_units_type_e for documentation.) – The units in which the maximum weight limit is to be expressed.
Returns:

A Tuple

Return type:

A tuple consisting of (maxWeight,isSet)

maxWeight(float): The value of the maximum weight limit of part (0.0 if the limit is not set).

isSet(bool): True if the maximum weight limit of the part is currently set, false if not.

License requirements: None