NXOpen.UF.Obj.CycleByNameAndType

Obj.CycleByNameAndType()

Refer to UF_OBJ_cycle_by_name_and_type for documentation.

Signature: CycleByNameAndType(partTag, name, type, useOcc, objectArg)

Parameters:
  • partTag (Tag) – Tag of part in which to cycle.
  • name (str) – Name of objects on which to cycle.
  • type (int) – Object type on which to cycle (see uf_object_types.h)
  • useOcc (bool) – Occurrence filter: TRUE = include occurrences FALSE = exclude occurrrences
  • objectArg (Tag) – On input the object found by the last call to this routine. Begin the cycle by passing in object = NULL_TAG On output, the next object of the given name. Outputs a NULL_TAG when the cycle is finished.
Returns:

Modified value of objectArg

Return type:

Tag

License requirements: None