ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
AEAloci Ed05/02/2025

Hello,

I am currently able to retrieve the position and orientation of each component relative to the global coordinate system (i.e., the coordinate system of the assembly in which they are defined) using a VBA macro with the MathTransform interface and the SolidWorks.Component2 object:

IMathTransform Interface - SOLIDWORKS API Help (2023)

The above-mentioned interface allows to retrieve the transformation