Synopsis
PDX_MSGT s044_GetAssyCompInfo(long option, MDA_PTR db_ptr, MDA_PTR *assy_shprpr_ptr, MDA_PTR *comp_shprpr_ptr, GDX_MATRIX comp_matrix, int *units, MDA_PTR *assy_prddfn_ptr, MDA_PTR *comp_prddfn_ptr)
Purpose
Get the assembly/component information.
Description
Traverse the assembly/component relationship defined by the specified next assembly usage occurrence, mapped item, or item defined transformation. Find the assembly shape representation and the component shape representation with it's corresponding transformation matrix. Both the mapped item approach and the context dependent shape representation approach is supported.
Input
option
Options (not used)
db_ptr
Database pointer of next assembly usage occurrence, mapped item, or item defined transformation
Output
assy_shprpr_ptr
Database pointer of assembly shape representation entity
comp_shprpr_ptr
Database pointer of component shape representation entity
comp_matrix
Transformation matrix defined by axis 2 placement 3d of component
units
Units in the comp_matrix
assy_prddfn_ptr
Database pointer of assembly product definition entity
comp_prddfn_ptr
Database pointer of component product definition entity
Return
S044 error code