Hello,
I have an algorithm that parses throught the assembly file, extracts the components ( IComponent2 objects) and uses its transformation matrix to get points with respect to assembly file and does some analysis.
However, if I have a sub-assembly inside the main assembly then the transformation matrix obtained using a component of the subassembly (IComponent2 object) is not giving me proper points with respect to main assembly coordinates.
Can anybody help me as to how I could solve this issue? Or suggest me the proper way of extracting the transformation matrix of the component inside subassembly with respect to the main assembly?
Thanks,
Aravind Shanthakumar
SolidworksApi macros