Re: How do I run my script(via a button) on all selected nodes?

2014-01-03 Thread Jack Kuan
Thank you all! c.getSelectedPositions() does the trick~ On Friday, January 3, 2014 4:26:50 PM UTC-5, Jacob Peck wrote: > > On 1/3/2014 4:22 PM, Jacob Peck wrote: > > On 1/3/2014 4:07 PM, Jack Kuan wrote: > >> Hi, > >> > >> I have written a script and made a button for it. I can run it(click

Re: How do I run my script(via a button) on all selected nodes?

2014-01-03 Thread Jacob Peck
On 1/3/2014 4:22 PM, Jacob Peck wrote: On 1/3/2014 4:07 PM, Jack Kuan wrote: Hi, I have written a script and made a button for it. I can run it(click the button) on one selected node, but how do I make it run ALL selected nodes? This is tricky, and Edward has been pushing towards disallowing

Re: How do I run my script(via a button) on all selected nodes?

2014-01-03 Thread Terry Brown
On Fri, 3 Jan 2014 13:07:33 -0800 (PST) Jack Kuan wrote: > Hi, > > I have written a script and made a button for it. I can run it(click the > button) on one selected node, but how do I make it run ALL selected nodes? Assuming your script acts on `p`, do: for p in c.getSelectedPositions():

Re: How do I run my script(via a button) on all selected nodes?

2014-01-03 Thread Jacob Peck
On 1/3/2014 4:07 PM, Jack Kuan wrote: Hi, I have written a script and made a button for it. I can run it(click the button) on one selected node, but how do I make it run ALL selected nodes? This is tricky, and Edward has been pushing towards disallowing Leo from having multiple selected nodes

How do I run my script(via a button) on all selected nodes?

2014-01-03 Thread Jack Kuan
Hi, I have written a script and made a button for it. I can run it(click the button) on one selected node, but how do I make it run ALL selected nodes? Also, is there a find command that will let me execute my script on all found nodes? Thanks Jack -- You received this message because you are