3D Visualization (3DV)

Processing Results from Query Execution

The custom Query Processor example processes the results returned from the execution of the Query Definition. To illustrate this process this section will use the example query results shown in below figure and discuss each relevant XML Element when processing.

The above figure shows the partial XML result data when executing the Default (Base) Query Definition against a sample Assembly shown at the right. In this example, the root Assembly – R-ARM-43 – has one sub-Assembly – R-ARM-44 – and two child Components – R-ARM-48, R-ARM-33. Assembly R-ARM-44 has three Components – R-ARM-45, R-ARM-46, and R-ARM-47. The diagram highlights key XML Elements and Attributes in the XML results that are necessary when processing this data. The <Additional Item Properties> XML Element is notional: it represents additional Properties included for the associated XML Element that were left out of the example for simplicity.

When implementing a Query Processor, it is necessary to process the result set such as displayed above and extract the required information. The following sections identify some points to consider for this purpose.