CurrentHead: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 4: Line 4:
*You cannot have two heads in different configurations with the same ID.
*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.
*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.}}
It is <u>not recommended</U> to use this command for Head identification in a post. 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}}



Latest revision as of 23:20, 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 for Head identification in a post. 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