Search found 9 matches
- 28 Jan 2014, 19:08
- Forum: Programming
- Topic: Opening an "edit properties" window from scripting
- Replies: 3
- Views: 1056
Re: Opening an "edit properties" window from scripting
Yes! Application.inspectobj("datapath") did it! Thanks!
- 28 Jan 2014, 18:22
- Forum: Programming
- Topic: Opening an "edit properties" window from scripting
- Replies: 3
- Views: 1056
Opening an "edit properties" window from scripting
I have a script that creates an object and defines a few custom parameters. If I navigate through explorer, find the custom parameter node and hit "enter", it opens a window that lets me edit the parameters. Is there a scripting command which allows me to open this window? It's not importa...
- 16 Jan 2014, 00:24
- Forum: Programming
- Topic: Python: Return list of selected compositing nodes
- Replies: 15
- Views: 2500
Re: Python: Return list of selected compositing nodes
so.. why do you want that selection, what were you going to do with it I'm doing a lot of repetitive tasks in comp. 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 selec...
- 15 Jan 2014, 23:17
- Forum: Programming
- Topic: Python: Return list of selected compositing nodes
- Replies: 15
- Views: 2500
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.
- 15 Jan 2014, 22:39
- Forum: Programming
- Topic: Python: Return list of selected compositing nodes
- Replies: 15
- Views: 2500
Re: Python: Return list of selected compositing nodes
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'
I tried using the attribute "selection" and it's only returning 'None'
- 15 Jan 2014, 21:32
- Forum: Programming
- Topic: Python: Return list of selected compositing nodes
- Replies: 15
- Views: 2500
Re: Python: Return list of selected compositing nodes
It implements at least one attribute: targetcontent. The doc page is hidden; FxTree isn't listed on the View Attributes page, but it is possible to find it through the search . But even I find that Search page ... opaque. Is there a command that can list attributes, so that I know what I can look f...
- 15 Jan 2014, 21:21
- Forum: Programming
- Topic: Python: Return list of selected compositing nodes
- Replies: 15
- Views: 2500
Re: Python: Return list of selected compositing nodes
Looks like fxtree does not implement any view attribute :/ views = Application.Desktop.ActiveLayout.Views v = views.Find("Fx Tree") or views.Find("View Manager").Views.Find("Fx Tree") if v: print v.GetAttributeValue("selection") # None Thanks for your reply -...
- 15 Jan 2014, 19:13
- Forum: Programming
- Topic: Python: Return list of selected compositing nodes
- Replies: 15
- Views: 2500
Re: Python: Return list of selected compositing nodes
You probably have to find the FX Tree view object via the Application.Desktop.Views collection or something like that. Once you have the view there should be a view attribute that gives you a string of the selected nodes which you can then split out for your needs. Hi, thanks for your reply. Would ...
- 15 Jan 2014, 17:55
- Forum: Programming
- Topic: Python: Return list of selected compositing nodes
- Replies: 15
- Views: 2500
Python: Return list of selected compositing nodes
Hi, When I'm compositing, I noticed that there's a difference between selecting a node in the explorer (located in Scene_Root.FxTree.nodeName), and selecting a node in the compositing window. If I click a node in the GUI, it doesn't affect the highlighted node in the Explorer. I'm trying to use a py...