locate objects with specific tag
findtag(STR)
Locate objects with specific tag STR
FINDTAG(OBJECT_HANDLES,STR) Restricts the search to objects listed in objhandles and their descendants.
FINDTAG(...,'-depth',d) The depth argument d controls how many levels under the handles in objhandles are traversed. Specify d as inf to get the default behavior of all levels. Specify d as 0 to restrict to the objects listed in OBJECT_HANDLES.
Rem: In order for this to work properly, the object's tag field must be a string containing keywords (or tags) separated by commas.