Thanks for your sample code... would you have anything that works in Soft 2012?
I tried using the attribute "selection" and it's only returning 'None'
Python: Return list of selected compositing nodes
-
- Posts: 9
- Joined: 15 Jan 2014, 02:47
- csaez
- Posts: 253
- Joined: 09 Jul 2012, 15:31
- Skype: csaezmargotta
- Location: Sydney, Australia
- Contact:
Re: Python: Return list of selected compositing nodes
I know, forget about that snippet, it was just a shot in the dark hoping to find some consistency with similar views, but it doesn't work.TwirlySocrates wrote:I tried using the attribute "selection" and it's only returning 'None'
-
- Moderator
- Posts: 754
- Joined: 25 Nov 2009, 01:41
- Contact:
Re: Python: Return list of selected compositing nodes
As Luc-Eric said, the selected nodes view attribute was only added in 2014. Prior versions, you're out of luck.
-
- Posts: 9
- Joined: 15 Jan 2014, 02:47
Re: Python: Return list of selected compositing nodes
Alrighty. Thank you.EricTRocks wrote:As Luc-Eric said, the selected nodes view attribute was only added in 2014. Prior versions, you're out of luck.
Re: Python: Return list of selected compositing nodes
so.. why do you want that selection, what were you going to do with it
-
- Posts: 9
- Joined: 15 Jan 2014, 02:47
Re: Python: Return list of selected compositing nodes
I'm doing a lot of repetitive tasks in comp.luceric wrote:so.. why do you want that selection, what were you going to do with it
Some of these tasks would include:
* Arrange selected nodes in an evenly spaced horizontal line.
* Comp selected nodes together using "over" nodes at .5 opacity
* Comp selected nodes together using "over" nodes at 1.0 opacity
It's easy to do by hand, but when you have to do it all day, it would be easier to script.
Who is online
Users browsing this forum: No registered users and 17 guests