I'm working on a ULP for which I would like to set an attribute on parts spread across multiple sheets. I've run into a problem, where I can't figure out how to set any attributes on parts which are present on anything but the currently active sheet.
The problem also appears just writing commands in the editor. If you do.
ATTRIBUTE C10 ATTNAME 'stuff'
If C10 is on the current sheet it works, otherwise a dialog pops up that reports: Invalid part or gate name 'C10'.
If you first switch to the correct sheet, all works as expected.
Is there a way to reference parts in another sheet?
Thanks.