
- Posts: 1
- Joined: Mon Mar 14, 2016 11:01 pm
I'm trying to access to the "show tile" feature of Fusion using python. There doesn't seem to be any mention of it in the scripting reference PDF.
I've tried guessing with various combinations, but still haven't come across anything.
Looking at the code found in a .comp file it seems to be stored in a "ViewInfo" flag called "ShowPic", however I've not figured out how to access it.
Any help would be appreciated!
I've tried guessing with various combinations, but still haven't come across anything.
- Code: Select all
comp = fusion.GetCurrentComp()
tools = comp.GetToolList(True)
for tool in tools :
tool.ShowTile = True
tool.Showtile = True
tool.showtile = True
tool.showTile = True
tool.show_tile = True
tool.SetAttrs({'TOOLB_ShowTile': True})
tool.SetAttrs({'TOOLB_Showtile': True})
tool.SetAttrs({'ShowTile': True})
tool.SetAttrs({'Showtile': True})
tool.SetAttrs({'showtile': True})
Looking at the code found in a .comp file it seems to be stored in a "ViewInfo" flag called "ShowPic", however I've not figured out how to access it.
- Code: Select all
{
Tools = ordered() {
Background2 = Background {
CtrlWZoom = false,
Inputs = {
GlobalOut = Input { Value = 107, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
Gradient = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1, },
[1] = { 1, 1, 1, 1, },
},
},
},
},
ViewInfo = OperatorInfo {
Pos = { 473, 71, },
Flags = {
ShowPic = true,
},
},
},
},
ActiveTool = "Background2",
}
Any help would be appreciated!
Ben Bryan - Technical director @ Cadre Pictures