IT SETUP TOOL GET BLOCK: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
MikeONeill (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
[[:Category:Intermediate Tooling|{{Up}}]] | [[:Category:Intermediate Tooling|{{Up}}]] | ||
{{Command|syntax=IT_SETUP_TOOL_GET_BLOCK <tool number> <block make> <block name> | {{Command|syntax=IT_SETUP_TOOL_GET_BLOCK <tool number> [block number] <block make> <block file> [<block name>] | ||
|description=:Get the block that is currently assigned to a tool | |description=:Get the block that is currently assigned to a tool | ||
|param1=<tool number>|param1_desc=Tool number | |param1=<tool number>|param1_desc=Tool number | ||
|param2=<block make>| | |param2=<block number>|param2_desc=Block number (if the tool uses stacked blocks), if not specified get first block | ||
| | |param3=<block make>|param3_desc=String variable for the block make (empty string, if no block) | ||
|param4=<block name>|param4_desc=String variable for the block filename | |||
|param5=<block name>|param5_desc=String variable for the block name | |||
}} | }} | ||
===Example=== | ===Example=== | ||
:IT_SETUP_TOOL_GET_BLOCK, 4, | :IT_SETUP_TOOL_GET_BLOCK, 4, sMake$, sName$ | ||
:IT_SETUP_TOOL_GET_BLOCK, 4, sMake$, sFile$, sName$ | |||
:IT_SETUP_TOOL_GET_BLOCK, 4, 2, sMake$, sFile$ | |||
:IT_SETUP_TOOL_GET_BLOCK, 4, 2, sMake$, sFile$, sName$ | |||
[[Category:IT_Setup_Data]] | [[Category:IT_Setup_Data]] |
Latest revision as of 20:59, 29 September 2021
Command
- IT_SETUP_TOOL_GET_BLOCK <tool number> [block number] <block make> <block file> [<block name>]
- Get the block that is currently assigned to a tool
Parameters
- <tool number>
- Tool number
- <block number>
- Block number (if the tool uses stacked blocks), if not specified get first block
- <block make>
- String variable for the block make (empty string, if no block)
- <block name>
- String variable for the block filename
- <block name>
- String variable for the block name
Example
- IT_SETUP_TOOL_GET_BLOCK, 4, sMake$, sName$
- IT_SETUP_TOOL_GET_BLOCK, 4, sMake$, sFile$, sName$
- IT_SETUP_TOOL_GET_BLOCK, 4, 2, sMake$, sFile$
- IT_SETUP_TOOL_GET_BLOCK, 4, 2, sMake$, sFile$, sName$