CurrentHead: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Jeffm (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
==CurrentHead#==
==CurrentHead#==
{{Description|description=Returns the index of the current tool head}}
{{Description|description=Returns the index of the current tool head}}
{{Notes|notes=These IDs are not like TG or WP numbers. i.e...<br />
*You cannot have two heads in different configurations with the same ID.
*They are assigned by MachineManager and are subject to change at MachineManager's discretion.
It is not recommended to use this command. Use the CurrentHead?('MyHeadName') Boolean instead, as seen below.}}
{{Stats|id=226|type=Number|class=All Machines|scope=|version=13.8.29}}
{{Stats|id=226|type=Number|class=All Machines|scope=|version=13.8.29}}



Revision as of 23:16, 21 July 2026

CurrentHead#

Description

Returns the index of the current tool head


Notes

These IDs are not like TG or WP numbers. i.e...

  • You cannot have two heads in different configurations with the same ID.
  • They are assigned by MachineManager and are subject to change at MachineManager's discretion.

It is not recommended to use this command. Use the CurrentHead?('MyHeadName') Boolean instead, as seen below.


Stats

ID 226
Type Number
Class All Machines
Min Version 13.8.29


CurrentHead?('N')

Description

Returns true if the current head axis is named the same as the parameter


Stats

ID 686
Type Boolean
Class All Machines
Min Version 13.8.29