Synopsis

PDX_MSGT s044_TraverseAssembly(long option, OTM_TREE *assy_tree, S044_ASSY_TRAVERSE *func)

Purpose

Traverse the assembly.

Description

Traverse the specified assembly tree and call the specified function for each component. By default the matrices at each level will be concatenated to resolve the absolute position. An option is available to disable the concatenation process. There is also another option to prevent the traverse from processing a component more than once. This is option is useful for creating the assembly in a native system.

Input

option

S044_NO_CONCAT_MATRIX

Do not concatenate the matrices as each level is traversed

S044_NO_EXPLODE

Only traverse the components once

assy_tree

Assembly tree of T_S044_ASSEMBLY objects

func

Function to call for each component

Return

S044 error code