NXOpen.UF.Weld.LocateWelds

Weld.LocateWelds()

Refer to UF_WELD_locate_welds for documentation.

Deprecated since version NX5.0.

Signature: LocateWelds(workPart, weldType)

Parameters:
  • workPart (Tag) – The specified assembly to query
  • weldType (NXOpen.UF.Weld.Types Refer to UF_WELD_types_e for documentation.) – The weld type filter to apply to this query. If no filtering is desired, then input UF_WELD_ALL_TYPES . This filter can have combinations like UF_WELD_GROOVE_TYPE+ UF_WELD_SPOT_TYPE+...
Returns:

A Tuple

Return type:

A tuple consisting of (count,weldArray)

count(int): Pointer to the number of weld object which answer the query. This may be 0. This storage is not allocated by the function. Pass in a valid integer location If the count is not desired, pass in a NULL instead of a pointer

weldArray(list of Tag): The pointer in which to return the array containing the tags of the found weld_objects. If UF_WELD_ALL_TYPES, then all of the weld objects in the assembly will be returned. If any other filter option, then only the objects of the specified type are returned. If NULL is passed in instead of a pointer, then the array is not returned. Such an option might be used to simply obtain a count of the objects. If the pointer is returned as non_NULL, then the array must be freed by UF_free

License requirements: None