yields the correct set of coordinates. Is there a different way to go about getting coordinates of grouped components, or am I just missing something in the script I currently have?
I see what you’re saying as far as getting the absolute position in the end, but currently I can’t get a relative position of my grouped component. Every call to getLocation() for components in the group returns (0,0), no matter where they are.
Ok, I just tried the same code that you used with some new buttons as well as one of the components that I want the location of, here are the results (MyComopnent is the green arc):
Could it be that there is something about these components that prevent getting the location? This is part of a project that I’ve inherited so I don’t know if anything special was done when these were created