Mr RB
Well-Known Member
Hi, I'm trying to write a ULP for Eagle that directly accesses the coordinates for each components origin (the little crosshairs for the centre of the component).
The closest ULP I have seen was for SMD parts, and gets the coords for all the pads then finds the centre between the furthest pads and uses that for the component coords, but that does not work well on non-symmetrical parts like transistors etc.
Does anyone know how to directly access the component origin? I think it's just a matter of knowing what the internal variable name is?
The closest ULP I have seen was for SMD parts, and gets the coords for all the pads then finds the centre between the furthest pads and uses that for the component coords, but that does not work well on non-symmetrical parts like transistors etc.
Does anyone know how to directly access the component origin? I think it's just a matter of knowing what the internal variable name is?