CurrentWFOIndex

From Compost Wiki
Revision as of 22:30, 7 May 2026 by FabienT (talk | contribs)
Jump to navigation Jump to search

CurrentWFOIndex#

Description

Returns the (zero-based) WFO index currently cached in the prog's memory. It corresponds to the index of the WFO last output (or applied) by the prog.

For example:

  • -1 (no workfixture output or applied yet),
  • 0 (if for instance workfixture "G54" was output/applied),
  • 1 (if for instance workfixture "G55" was outputapplied),

etc.

Notes

The commands that update the cached index value are the ones explicitly outputting (or applying) a WFO, such as: OpWFOCode, PartWFOCode or PartStationWFOCode.

This command is therefore NOT a substitute for: OpWFOIndex#, PartWFOIndex# or PartStationWFOIndex#.

See also: InvalidateWFO (to reset the cached index value to 'none' i.e. -1).

Stats

ID 577
Type Number
Class All Machines
Min Version 26.1.5