eggbird
software development and
knowledge engineering

Mail

ROIS

Built-in task: findNode

The built-in task findNode searches for and returns found node classes that match a specified text. In the example below, a client application asks ROIS for the identifier of a NODE with the name topClass in the internal name space in the model with the indicated identifier 962DC:0. The number of returned nodes is limited to a maximum of 5. The client application must have requested the identifier of the model in a previous query where the model was opened, it could for example use the task openModel from the included System module.

findNode MODEL NODE 'Tissue' 'INTERNAL' '5';
<ROIS>
  <Query task="findNode">
    <Model id="962DC:0"></Model>
    <Node>NODE</Node>
    <Text>Tissue</Text>
    <Text>INTERNAL</Text>
    <Text>5</Text>
  </Query>
</ROIS>
<ROIS>
  <Reply task="findNode">
    <Node id="962DC:15C5">Tissue</Node>
  </Reply>
</ROIS>