CurrentHead: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Jeffm (talk | contribs)
Created page with "==CurrentHead#== {{Description|description=Returns the index of the current tool head}} {{Stats|id=226|type=Number|class=All Machines|scope=|version=13.8.29}}"
 
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
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 <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}}
==CurrentHead?('N')==
{{Description|description=Returns true if the current head axis is named the same as the parameter}}
{{Stats|id=686|type=Boolean|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