[PCB_FORUM] script to change attributes of specific components within a page.

Hello to All,

How can I do in a script the following:

1 - Search for all resistors within the page
2 - turn invisible attribute $PN on the previous group.

if I wanted to affect all instances of the page I would do:
set nextgroup A
find $PN
dis inv A


But what should I write in order to affect only the resistors?

I have managed to go as far as:
set nextgroup A
find LOCATION R* 

at this moment concept return the group A as the one with the Resistors.

But how can I set the $PN attribute to invisible on this group?


Thanks in advance,
Rui
-----------------------------------------------------------
To subscribe/unsubscribe: 
Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
with a subject of subscribe or unsubscribe

To view the archives of this list go to 
http://www.freelists.org/archives/icu-pcb-forum/

Problems or Questions:
Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx
-----------------------------------------------------------

Other related posts: