NXOpen.UF.Layer.CycleByLayer

Layer.CycleByLayer()

Refer to UF_LAYER_cycle_by_layer for documentation.

Signature: CycleByLayer(layerNumber, objectTag)

Parameters:
  • layerNumber (int) – Layer number to cycle, pass in a layer number of 0 to cycle all enabled layers.
  • objectTag (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 on the specified layer or layers. Outputs a NULL_TAG when the cycle is finished.
Returns:

Modified value of objectTag

Return type:

Tag

License requirements: None