Category:List: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {| border="1" |- | align="left" |GET_TOOL_LIST [<selected>] |- | align="left" |NUMBER_OF_TOOL |- | align="left" |FIRST_TOOL_NUMBER |- | align="left" |NEXT_TOOL_NUMBER |- | ...
 
Mikeo (talk | contribs)
No edit summary
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Main_Page|{{Up}}]]
The list commands are used to get a list of data.
After you have used a list command, a set of variables will be set to data related to the list.
<br>
<br>
These will usually include the number of items in the list and the value of the first item in the list.<br>
There will also usually be a "next" variable that is incremented each time you use it, to provide a method for finding each value in the list.
<br>
{| border="1"
{| border="1"
| align="left" |[[GET_TOOL_LIST]]
|-
|-
| align="left" |[[GET_TOOL_LIST]] [<selected>]
| align="left" |[[GET_PROC_LIST]] [<selected>]  
|-
| align="left" |[[NUMBER_OF_TOOL]]
|-
| align="left" |[[FIRST_TOOL_NUMBER]]
|-
| align="left" |[[NEXT_TOOL_NUMBER]]
|-
| align="left" |[[LAST_TOOL_NUMBER]]
|-
| align="left" |[[FIRST_FREE_TOOL_NUMBER]]
|-
| align="left" |[[GET_PROC_LIST]] [<selected>]
|-
| align="left" |[[NUMBER_OF_PROCS]]
|-| align="left" |[[FIRST_PROC_NUMBER]]
|-
| align="left" |[[NEXT_PROC_NUMBER]]
|-
| align="left" |[[LAST_PROC_NUMBER]]
|-
| align="left" |[[FIRST_FREE_PROC_NUMBER]]
|-
|-
| align="left" |[[GET_OP_LIST]] [<selected>]
| align="left" |[[GET_OP_LIST]] [<selected>]
|-
|-
| align="left" |[[NUMBER_OF_OPS]]
| align="left" |[[GET_OLD_OP_LIST]] (save a copy of the current op list)
|-
|-
| align="left" |[[FIRST_OP_NUMBER]]
| align="left" |[[GET_NEW_OP_LIST]] (compare the op list with the saved copy)
|-
| align="left" |[[NEXT_OP_NUMBER]]
|-
| align="left" |[[LAST_OP_NUMBER]]
|-
| align="left" |[[FIRST_FREE_OP_NUMBER]]
|-
|-
| align="left" |[[GET_WG_LIST]]
| align="left" |[[GET_WG_LIST]]
|-
| align="left" |[[NUMBER_OF_WGS]]
|-
| align="left" |[[FIRST_WG_NUMBER]]
|-
| align="left" |[[NEXT_WG_NUMBER]]
|-
| align="left" |[[LAST_WG_NUMBER]]
|-
| align="left" |[[FIRST_FREE_WG_NUMBER]]
|-
|-
| align="left" |[[GET_CS_LIST]]
| align="left" |[[GET_CS_LIST]]
|-
|-
| align="left" |[[NUMBER_OF_CSS]]
|-
| align="left" |[[FIRST_CS_NUMBER]]
|-
| align="left" |[[NEXT_CS_NUMBER]]
|-
| align="left" |[[LAST_CS_NUMBER]]
|-
| align="left" |[[FIRST_FREE_CS_NUMBER]]
|-
| align="left" |[[GET_SOLID_LIST]] [<selected>]
| align="left" |[[GET_SOLID_LIST]] [<selected>]
|-
|-
| align="left" |[[GET_SELECTED_SOLID_LIST]]
| align="left" |[[GET_SOLID_EDGE_LIST]] <solid num>
|-
|-
| align="left" |[[NUMBER_OF_SOLIDS]]
| align="left" |[[GET_SOLID_SELECTED_EDGE_LIST]] <solid num>
|-
|-
| align="left" |[[FIRST_SOLID_REF]]
| align="left" |[[GET_SOLID_FACE_LIST]] <solid num>  
|-
| align="left" |[[NEXT_SOLID_REF]]
|-
| align="left" |[[GET_SOLID_FACE_LIST]] <solid num> [<selected>]
|-
|-
| align="left" |[[GET_SOLID_SELECTED_FACE_LIST]] <solid num>
| align="left" |[[GET_SOLID_SELECTED_FACE_LIST]] <solid num>
|-
|-
| align="left" |[[NUMBER_OF_FACES]]
|-
| align="left" |[[FIRST_FACE_REF]]
|-
| align="left" |[[NEXT_FACE_REF]]
|-
| align="left" |[[GET_SOLID_EDGE_LIST]] <solid num> [<selected>]
|-
| align="left" |[[GET_SOLID_SELECTED_EDGE_LIST]] <solid num>
|-
| align="left" |[[NUMBER_OF_EDGES]]
|-
| align="left" |[[FIRST_EDGE_REF]]
|-
| align="left" |[[NEXT_EDGE_REF]]
|-
| align="left" |[[GET_OLD_OP_LIST]] (save a copy of the current op list)
|-
| align="left" |[[GET_NEW_OP_LIST]] (compare the op list with the saved copy)
|-
| align="left" |[[NUMBER_OF_SAME_OPS]]
|-
| align="left" |[[NUMBER_OF_NEW_OPS]]
|-
| align="left" |[[NUMBER_OF_DELETED_OPS]]
|-
| align="left" |[[NUMBER_OF_MOVED_OPS]]
|-
| align="left" |[[FIRST_SAME_OP_NUMBER]]
|-
| align="left" |[[NEXT_SAME_OP_NUMBER]]
|-
| align="left" |[[LAST_SAME_OP_NUMBER]]
|-
| align="left" |[[FIRST_NEW_OP_NUMBER]]
|-
| align="left" |[[NEXT_NEW_OP_NUMBER]]
|-
| align="left" |[[LAST_NEW_OP_NUMBER]]
|-
| align="left" |[[FIRST_DELETED_OP_NUMBER]]
|-
| align="left" |[[NEXT_DELETED_OP_NUMBER]]
|-
| align="left" |[[LAST_DELETED_OP_NUMBER]]
|-
| align="left" |[[FIRST_MOVED_FROM_OP_NUMBER]]
|-
| align="left" |[[NEXT_MOVED_FROM_OP_NUMBER]]
|-
| align="left" |[[LAST_MOVED_FROM_OP_NUMBER]]
|-
| align="left" |[[FIRST_MOVED_TO_OP_NUMBER]]
|-
| align="left" |[[NEXT_MOVED_TO_OP_NUMBER]]
|-
| align="left" |[[LAST_MOVED_TO_OP_NUMBER]]
|}
|}

Latest revision as of 18:49, 13 January 2011

Up

The list commands are used to get a list of data. After you have used a list command, a set of variables will be set to data related to the list.

These will usually include the number of items in the list and the value of the first item in the list.
There will also usually be a "next" variable that is incremented each time you use it, to provide a method for finding each value in the list.

GET_TOOL_LIST
GET_PROC_LIST [<selected>]
GET_OP_LIST [<selected>]
GET_OLD_OP_LIST (save a copy of the current op list)
GET_NEW_OP_LIST (compare the op list with the saved copy)
GET_WG_LIST
GET_CS_LIST
GET_SOLID_LIST [<selected>]
GET_SOLID_EDGE_LIST <solid num>
GET_SOLID_SELECTED_EDGE_LIST <solid num>
GET_SOLID_FACE_LIST <solid num>
GET_SOLID_SELECTED_FACE_LIST <solid num>