Synopsis

PDX_MSGT s044_GetAssembly(long option, int step_model, OTM_TREE **assy_tree)

Purpose

Get the assembly.

Description

Traverse the specified step model and find all the next assembly usage occurrence, mapped item, item defined transformation, and indepdendant shape representation entities. Build a tree of assembly/component relationships. Each level in the tree contains the shape representation, the transformation matrix, and a list of components. Both the mapped item approach and the context dependent shape representation approach are supported.

Input

option

S044_PRDDFN_ONLY

Don't get the shapes

step_model

STEP model to traverse

Output

assy_tree

Assembly tree of S044_ASSEMBLY objects

Return

S044 error code