Known plane location with API

Hello everyone,

I try to make a SW macro which move a part and rotate them.

First I will explain my problem. I am in an electronic design office. For each component, we put on our board we get the component from the manufacturer web site or we do it. But many components are not correctly placed for being imported in Altium (our electronics design software). So, we need to move and rotate the component body for being ok for Altium.

So, we imagine a SW macro which use “Move/Copy…” function for correctly move the component. It, almost, work but my problem is I cannot get the direction of the measure. Have you a solution for resolve this problem?

Thanks

Camille

SolidworksApi macros