<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
	<title>Scripting Fusion 5</title>
	<description>All about end user scripting</description>
	<link>http://www.pigsfly.com/forums</link>
	<pubDate>Sun, 13 May 2012 06:46:11 +0000</pubDate>
	<ttl>30</ttl>
	<item>
		<title>Date Expression In Text+ ?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7403</link>
		<description><![CDATA[Is it possible to create an expression in the text node that prints the current date<br />
<br />
I tried <br />
Text(os.date)<br />
<br />
Doesn't work having no luck figuring this out.<br />
<br />
Thanks]]></description>
		<pubDate>Sun, 13 May 2012 06:46:11 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7403</guid>
	</item>
	<item>
		<title><![CDATA[Lua -&#62; Python ... Function Equivalent]]></title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7353</link>
		<description><![CDATA[Hi there,<br />
<br />
I started an adaption of Isaac Guenard's <em class='bbc'>Render Manager Status</em> LUA script to python in order to add some features. The definiton of the render manager in his script goes like<br />
<br />
<pre class='prettyprint'>
master = fusion:GetPrefs()&#91;"Global"&#93;&#91;"Network"&#93;&#91;"ServerName"&#93; -- returns the  name of your render manager
if master == "" then master = "localhost" end
remote = Fusion(master, 10, nil, "RenderManager")
</pre>
<br />
Anyone an idea how the third line would go in python?<br />
<br />
Attached the original LUA script (which is quite usefull by the way)<div id='attach_wrap' class='clearfix'>
	<h4>Attached Files</h4>
	<ul>
		
			<li class='attachment'>
				<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=2252" title="Download attachment"><img src="http://www.pigsfly.com/forums/public/style_extra/mime_types/zip.gif" alt="Attached File" /></a>
&nbsp;<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=2252" title="Download attachment"><strong>RenderManagerStatus.zip</strong></a> &nbsp;&nbsp;<span class='desc'><strong>1.52K</strong></span>
&nbsp;&nbsp;<span class="desc lighter">5 downloads</span>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Tue, 10 Apr 2012 09:17:06 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7353</guid>
	</item>
	<item>
		<title>Comp Is Loading</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7311</link>
		<description><![CDATA[Is there a way to check this? Im writing a metrics script that runs through a bunch of comps in a batch folder. I open the script from an unsaved new comp. It launches everything fine and for a smaller comp I can just add a wait time of 2-4 seconds, but it doesn't work for every comp obviously, and I would much rather a way to tell if fusion is loading a comp. I was hoping IsRendering would help, but not so much. im really looking to make a<br />
<br />
while fusion:IsLoading do<br />
	 wait (2)<br />
end<br />
<br />
or something like that. just some time of break that is based on whether or not the comp has finished loading. Thanks in advance guys!!]]></description>
		<pubDate>Wed, 14 Mar 2012 18:03:27 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7311</guid>
	</item>
	<item>
		<title>Corner Pin - Key Corners With A Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7298</link>
		<description><![CDATA[I want to write a script which would set key on all corners of a corner positioner. I tried to do it like this:<br />
<pre class='prettyprint'>
cpns = comp.GetToolList( True, "CornerPositioner" ).values()
currenttime = comp.GetAttrs()&#91;'COMPN_CurrentTime'&#93;	
for cpn in cpns:
	pos = cpn.TopLeft&#91; currenttime &#93;
	if cpn.TopLeft.GetAttrs()&#91;'INPB_Connected'&#93;:
		cpn.TopLeft&#91; currenttime &#93; = {1:pos&#91;1.0&#93;, 2:pos&#91;2.0&#93;, 3:0}
	else:
		cpn.TopLeft = comp.Path({})

	pos = cpn.TopRight&#91; currenttime &#93;
	if cpn.TopRight.GetAttrs()&#91;'INPB_Connected'&#93;:
		cpn.TopRight&#91; currenttime &#93; = {1:pos&#91;1.0&#93;, 2:pos&#91;2.0&#93;, 3:0}
	else:
		cpn.TopRight = comp.Path({})

	pos = cpn.BottomLeft&#91; currenttime &#93;
	if cpn.BottomLeft.GetAttrs()&#91;'INPB_Connected'&#93;:
		cpn.BottomLeft&#91; currenttime &#93; = {1:pos&#91;1.0&#93;, 2:pos&#91;2.0&#93;, 3:0}
	else:
		cpn.BottomLeft = comp.Path({})

	pos = cpn.BottomRight&#91; currenttime &#93;
	if cpn.BottomRight.GetAttrs()&#91;'INPB_Connected'&#93;:
		cpn.BottomRight&#91; currenttime &#93; = {1:pos&#91;1.0&#93;, 2:pos&#91;2.0&#93;, 3:0}
	else:
		cpn.BottomRight = comp.Path({})

	cpn.Refresh()
</pre>
Unfortunatelly, after I run this script, corner positioner fails to update. I'm not sure if I'm calling "Path" the right way. Any suggestions?]]></description>
		<pubDate>Fri, 02 Mar 2012 23:02:27 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7298</guid>
	</item>
	<item>
		<title>Peyeon - How Do I Call Script From Outside Of Fusion?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7283</link>
		<description><![CDATA[hi<br />
<br />
i managed to connect to existing comp in fusion using peyeon. i can access comp attributes, tools etc. my question is, how do i call python script? lets assume my script is named example.py and it is located in scripts/comp directory. i connect to fusion like this:<br />
<br />
import PeyeonScript as eyeon<br />
fusion = eyeon.scriptapp("Fusion")<br />
cmp = fusion.GetCurrentComp()<br />
<br />
what's next? how do i run my example.py script?]]></description>
		<pubDate>Thu, 23 Feb 2012 00:06:00 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7283</guid>
	</item>
	<item>
		<title>No Python</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7245</link>
		<description><![CDATA[i get a strange problem, only on 2 of 7 maschines i have the LUA and Py3 Button in the Console Tab in Fu6.3 ?! So only this maschines can access our python-scripts.  why python didnt work on the others. I installed python 3.2 and Peyeonscript with no effect. I reinstalled fusion... with no effect. <br />
Suggestions?]]></description>
		<pubDate>Wed, 18 Jan 2012 16:54:46 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7245</guid>
	</item>
	<item>
		<title>Custom Information Within Exr Files Possible?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7235</link>
		<description><![CDATA[Hi Guys,<br />
I wonder whether it is possible to write some custom data into an exr file when it is rendered from 3DS MAX and then read this data within fusion in order to do some automated tasks?<br />
<br />
One practical example:<br />
If you are familiar with stereoscopic workflows you might have come across the annoying issue that a very wide field of view (or wide eye separation) skewes the resulting left and right images in a way which shows a huge vertical (!) difference of objects in the image. The closer to the left or right side of each image the bigger is the vertical difference.<br />
Luckily one could counter balance this by putting a simple DVE after the loader in fusion. This is what I usually do.<br />
But rather than adjusting it always manually it would be nice to just read the FOV value of the camera (out of the exr file) and apply the DVE with the appropriate settings with a script.<br />
<br />
Does that make sense?<br />
And more importantly: Does anyone know a solution?<br />
<br />
Thanks a lot!<br />
Uli]]></description>
		<pubDate>Wed, 11 Jan 2012 18:37:05 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7235</guid>
	</item>
	<item>
		<title>Assimilate Scratch To Fusion?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7226</link>
		<description><![CDATA[Is Eyeon or any script guru working on a script to go from Scratch to Fusion??<br />
Apparently Nuke has one.<br />
<iframe src="http://player.vimeo.com/video/34631749" width="400" height="250" frameborder="0"></iframe>]]></description>
		<pubDate>Fri, 06 Jan 2012 23:28:48 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7226</guid>
	</item>
	<item>
		<title>The Old Wirelesslink</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7188</link>
		<description><![CDATA[Can it be rewritten so that whenever you copy/paste a WirelessLink fuse, it keeps its input? It's because of the ImageControl Input Control used, I guess as similar behavior can be seen when copy/pasting a BG "From Image" gradient. Pretty annoying.<br />
<br />
A FileControl keeps its setting.]]></description>
		<pubDate>Tue, 06 Dec 2011 21:43:30 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7188</guid>
	</item>
	<item>
		<title>Lowtech Stereo Workflow</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7187</link>
		<description><![CDATA[Well, I want to have a simple yet flexible stereo workflow that I can use for a shortfilm that will kick off soon.<br />
<br />
Stuff I did: rewrote the Switch fuse to something that maintains DOD and has just two inputs for Left and Right footage that I can switch between using a checkbox. There is one Master Switch, renamed in the comp accordingly with a comment added to it to make clear it is a "Master." Then then are multiple copies of that same Fuse, renamed to indicate these are slaves, with a twist: the checkbox control is controlled by an expression making it look at the state of the Master Switch fuse and copying it. Comments clearly indicate these as being "Slaves." Finally, a Saver with a comment that says "SwitchMe"<br />
<br />
I want to add en event that, when saving, looks through the nodes in the comp, search for a Master Switch first, check to see which input is being used--left or right--then look for a Saver with a "SwitchMe" comment and change the path and filename according to the footage used.<br />
<br />
Pretty lowtech, using the comp variable, fixed filenames, no versions and using settings preset in the Saver node itself, in the comp.<br />
<br />
This is the scriptlib I wrote, but it already bugs out on line 3. "attempt to index a globel 'ev' (a nil value)" No clue what the problem is.<br />
<br />
<br />
<pre class='prettyprint'>
ev = AddEventSuite("Composition")
function ev:OnSave(event)
local toollist=comp:GetToolList()
for i, tool in toollist do
  if tool.TOOLS_RegID == "StereoSwitch" then
   print("Found a StereoSwitch")
   if tool.Comments == "Master" then
	print("It's a Master")
	if tool.SwitchInput == 1 then
	 print("Switch is set to Right")
	 eye = "right"
	else
	 eye = "left"
	 print("Switch is set to Left")
	end
   end
  end
end
for i, tool in toollist do
  if tool.TOOLS_RegID == "Saver" then
   print("Found a Saver")
   if tool.Comments == "SwitchMe" then
	print("This one needs to be switched")
	if eye == "Left" then
	 print("Setting path to Left")
	 tool.Clip = "Comp:\left\Stereo.0000.jpg"
	else
	 print("Setting path to Right")
	 tool.Clip = "Comp:\right\Stereo.0000.jpg"
	end
   end
  end
end
end
</pre>
<br />
Test comp:<br />
<br />
<pre class='prettyprint'>
{
Tools = ordered() {
  Right = Background {
   NameSet = true,
   Inputs = {
	GlobalIn = Input { Value = 1, },
	TopLeftGreen = Input { Value = 1, },
	TopLeftBlue = Input { Value = 1, },
	Gradient = Input {
	 Value = Gradient {
	  Colors = {
	   &#91;0&#93; = { 0, 0, 0, 1, },
	   &#91;1&#93; = { 1, 1, 1, 1, },
	  },
	 },
	},
	EffectMask = Input {
	 SourceOp = "Ellipse1",
	 Source = "Mask",
	},
   },
   ViewInfo = OperatorInfo { Pos = { 495, 115.5, }, },
   Colors = {
	TileColor = { R = 0.4, G = 0.4, B = 0.4, },
	TextColor = { R = 0, G = 1, B = 1, },
   },
  },
  Ellipse1 = EllipseMask {
   Inputs = {
	MaskWidth = Input { Value = 1920, },
	MaskHeight = Input { Value = 1080, },
	PixelAspect = Input { Value = { 1, 1, }, },
	ClippingMode = Input { Value = FuID { "None", }, },
	Center = Input { Value = { 0.3375, 0.616666666666667, }, },
   },
   ViewInfo = OperatorInfo { Pos = { 495, 82.5, }, },
  },
  S_Switch_2 = Fuse.StereoSwitch {
   NameSet = true,
   Inputs = {
	Left = Input {
	 SourceOp = "AutoDomain1_1",
	 Source = "Output",
	},
	Right = Input {
	 SourceOp = "AutoDomain1",
	 Source = "Output",
	},
	SwitchInput = Input { Expression = "M_Switch.SwitchInput", },
	Comments = Input { Value = "Slave", },
   },
   ViewInfo = OperatorInfo { Pos = { 495, 313.5, }, },
  },
  S_Switch_1 = Fuse.StereoSwitch {
   NameSet = true,
   Inputs = {
	Left = Input {
	 SourceOp = "AutoDomain1_1",
	 Source = "Output",
	},
	Right = Input {
	 SourceOp = "AutoDomain1",
	 Source = "Output",
	},
	SwitchInput = Input { Expression = "M_Switch.SwitchInput", },
	Comments = Input { Value = "Slave", },
   },
   ViewInfo = OperatorInfo { Pos = { 495, 280.5, }, },
  },
  AutoDomain1 = AutoDomain {
   Inputs = {
	Input = Input {
	 SourceOp = "Right",
	 Source = "Output",
	},
   },
   ViewInfo = OperatorInfo { Pos = { 495, 148.5, }, },
  },
  Saver1 = Saver {
   Inputs = {
	ProcessWhenBlendIs00 = Input { Value = 0, },
	Clip = Input {
	 Value = Clip {
	  Filename = "Comp:\\left\\Stereo_.jpg",
	  FormatID = "JpegFormat",
	  Length = 0,
	  Saving = true,
	  TrimIn = 0,
	  ExtendFirst = 0,
	  ExtendLast = 0,
	  Loop = 1,
	  AspectMode = 0,
	  Depth = 0,
	  TimeCode = 0,
	  GlobalStart = -1000000000,
	  GlobalEnd = 0,
	 },
	},
	OutputFormat = Input { Value = FuID { "JpegFormat", }, },
	ProcessMode = Input { Value = FuID { "FullFrames", }, },
	Input = Input {
	 SourceOp = "M_Switch",
	 Source = "Output",
	},
	Comments = Input { Value = "SwitchMe", },
   },
   ViewInfo = OperatorInfo { Pos = { 660, 181.5, }, },
  },
  Rectangle1 = RectangleMask {
   Inputs = {
	MaskWidth = Input { Value = 1920, },
	MaskHeight = Input { Value = 1080, },
	PixelAspect = Input { Value = { 1, 1, }, },
	ClippingMode = Input { Value = FuID { "None", }, },
   },
   ViewInfo = OperatorInfo { Pos = { 275, 181.5, }, },
  },
  AutoDomain1_1 = AutoDomain {
   Inputs = {
	Input = Input {
	 SourceOp = "Left",
	 Source = "Output",
	},
   },
   ViewInfo = OperatorInfo { Pos = { 385, 214.5, }, },
  },
  Left = Background {
   NameSet = true,
   Inputs = {
	GlobalIn = Input { Value = 1, },
	TopLeftRed = Input { Value = 1, },
	Gradient = Input {
	 Value = Gradient {
	  Colors = {
	   &#91;0&#93; = { 0, 0, 0, 1, },
	   &#91;1&#93; = { 1, 1, 1, 1, },
	  },
	 },
	},
	EffectMask = Input {
	 SourceOp = "Rectangle1",
	 Source = "Mask",
	},
   },
   ViewInfo = OperatorInfo { Pos = { 275, 214.5, }, },
   Colors = {
	TileColor = { R = 0.4, G = 0.4, B = 0.4, },
	TextColor = { R = 1, G = 0, B = 0, },
   },
  },
  M_Switch = Fuse.StereoSwitch {
   CtrlWZoom = false,
   NameSet = true,
   Inputs = {
	Left = Input {
	 SourceOp = "AutoDomain1_1",
	 Source = "Output",
	},
	Right = Input {
	 SourceOp = "AutoDomain1",
	 Source = "Output",
	},
	SwitchInput = Input { Value = 1, },
	Comments = Input { Value = "Master", },
   },
   ViewInfo = OperatorInfo { Pos = { 495, 181.5, }, },
  },
},
}
</pre>
<br />
Attached the StereoSwitch fuse you need if you want to have a look yourself. It's not finished yet, need to add proper credits..<div id='attach_wrap' class='clearfix'>
	<h4>Attached Files</h4>
	<ul>
		
			<li class='attachment'>
				<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=2166" title="Download attachment"><img src="http://www.pigsfly.com/forums/public/style_extra/mime_types/txt.gif" alt="Attached File" /></a>
&nbsp;<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=2166" title="Download attachment"><strong>StereoSwitch.Fuse.txt</strong></a> &nbsp;&nbsp;<span class='desc'><strong>1.88K</strong></span>
&nbsp;&nbsp;<span class="desc lighter">4 downloads</span>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Tue, 06 Dec 2011 13:20:52 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7187</guid>
	</item>
	<item>
		<title>Checkbox Control In A Fuse</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7185</link>
		<description><![CDATA[If I toggle a checkbox control on a fuse node, how can I make it change the tile and/or text color of the node itself? It's just a visual assist and not something really important, but I just would like to know if and how it can be done.]]></description>
		<pubDate>Sun, 04 Dec 2011 19:45:08 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7185</guid>
	</item>
	<item>
		<title>Performing Basic Operations On Image Channels In A Fuse</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7181</link>
		<description><![CDATA[Doing plenty of multi-pass compositing you end up with lots of addition, multiplication, division and subtraction operations in your comp. I've always been doing this with a Channel Boolean, experimented with custom tools too (try inverting with a boolean and Ct and compare the results.)<br />
<br />
What is the most efficient way of doing this? Would making a basic fuse that just does one of those operations be the most efficient? A Ct? Or stick to the old Boolean?<br />
<br />
Looking at this link:<br />
<br />
<a href='http://www.vfxpedia.com/index.php?title=Eyeon:Script/Reference/Applications/Fuse/Classes/Image/ChannelOpOf' class='bbc_url' title='' rel='nofollow'>http://www.vfxpedia.com/index.php?title=Eyeon:Script/Reference/Applications/Fuse/Classes/Image/ChannelOpOf</a><br />
<br />
I'd love to turn those examples in a working fuse, but I didn't manage to do it yet. I realize this is basic fuse stuff, but I must be missing something. If maybe a kind soul would make for instance a "Plus" fuse using this snippet, I could be on my way.<br />
<br />
img_out = img_bg:ChannelOpOf("Add", img_fg, { R = "Fg.R", G = "Fg.G", B = "Fg.B", A = "Fg.A" })<br />
<br />
Thanks in advance.]]></description>
		<pubDate>Wed, 30 Nov 2011 09:43:37 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7181</guid>
	</item>
	<item>
		<title>Listing Node/macro Inputs?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7169</link>
		<description><![CDATA[<span style='font-size: 14px;'>Hi fellow Fusion users!<br />
Is there a way through EyeonScript to list the inputs on nodes/macros?<br />
<br />
e.g. VectorMotionBlur has available input connections, Input, Vectors, and EffectMask.<br />
<span style='color: #000000'><span style='font-family: arial'>I can only find GetInputs() which lists all attributes on the node... </span></span><br />
<span style='color: #000000'><span style='font-family: arial'>This is a problem because I have some macros with many uniquely named inputs.</span></span><br />
<br />
<span style='color: #000000'><span style='font-family: arial'>Cheers,</span></span><br />
<span style='color: #000000'><span style='font-family: arial'>Jorx</span></span></span>]]></description>
		<pubDate>Tue, 22 Nov 2011 02:29:11 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7169</guid>
	</item>
	<item>
		<title>High/low Prode Tool</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7168</link>
		<description><![CDATA[Hey Guys!!<br />
<br />
Im a new member here, Ive been using Fusion in feature production for about 2 years now and have been quietly lurking, but now I need to ask for your help <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/biggrin.png' class='bbc_emoticon' alt=':D' /><br />
<br />
I am trying to make a tool to go through a sequence and and return the high and low values of the red channel. So instead of probing a single frame of setting up a reference, I want the tool to go through the entire sequence find the overall high and the overall low, then use those values in a BC to clamp or fit my values down.<br />
<br />
I have been messing around with ways to do it with nodes in fusion and package a macro, but i cannot seem to find an automated way, and I do not know enough about lua or fusions scripting to get it right.<br />
<br />
I have a decent ammount of experience in Houdini, Maya, and PRman, so I have been using what I know from them to come up with what I want to accomplish in script.<br />
<br />
Mind you I know this is in correct and it does not work what so ever. I only wrote this to try and layout a pplan of what I needed it to do and how I would do it in onther contexts.<br />
<br />
<span style='color: #A9A9A9'>CurrentNode.Input1=Input<br />
		 Input.GlobalIn=F1<br />
	   Input.globalOut=F2<br />
					   Time=Fit01(F1,F2,0,1)<br />
				    High.F=Input.R1.High<br />
					   High=0<br />
						    X=0<br />
					 Low.F=Input.R1.Low<br />
					   Low=0<br />
						   Y=0<br />
                <br />
If(Time=0, High.F=High, High.F=X)<br />
        <br />
If(X&gt;High, X=High, High=High)<br />
        <br />
Print `High`<br />
        <br />
If(Time=0, Low.F=Low, Low.F=Y)<br />
        <br />
If(Y&lt;Low, Y=Low, Low=Low)<br />
        <br />
Print `Low`</span><br />
<br />
again it is not in any particular language, kind of a VEX/PRman morph style, but what I am trying to say is.<br />
<br />
I need to take the frame range from the Input 1 of the tool, fit that to a normalized range of 0-1. Then, If we are at Time 0 (first frame of the range), then that value will be stored as the high and low values, if not the current value will be compared to the stored high or low, and so on.<br />
<br />
At this point I am stumped. I have made a few versions of the tool that use reference frames and you can take an educated guess at the frames that will have the highest or lowest value, however it is not accurate enough, and I am to go about it that way I might as well simply look at the viewer and input the value into a BC.<br />
<br />
If anyone has any advice, input, flaming, yelling, constructive criticisms, not so constructive criticisms, or suggestions I would trully appreciate it. TIA!]]></description>
		<pubDate>Mon, 21 Nov 2011 23:19:21 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7168</guid>
	</item>
	<item>
		<title>Ontooladded Eventscript Workaround</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7165</link>
		<description><![CDATA[The eventscript at vfxpedia is an example of how to implement an OnToolAdded eventscript by using OnActivateTool.<br />
It makes use of metadata for new comps and activated loaders (for the first time = created).<br />
<br />
Works with dropping files from the explorer, toolbar loader creation, bins etc.<br />
Doesn't work on old opened comps, else you would end up creating tools on each loader you select.<br />
<br />
<del class='bbc'>Check <a href='http://vfxpedia.com/images/Autotools.zip' class='bbc_url' title='' rel='nofollow'>http://vfxpedia.com/...s/Autotools.zip</a></del><br />
Check updated version below.]]></description>
		<pubDate>Sat, 19 Nov 2011 04:22:26 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7165</guid>
	</item>
	<item>
		<title>Moving The Polyline Or Mask Pivot Point</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7160</link>
		<description><![CDATA[Hi,<br />
<br />
Is there any way of moving a polyline mask pivot point (center) by script? For example moving the center point for a whole group of polymask nodes while keeping all polyline points in the same place.<br />
<br />
I found an old topic with more or less the same question <a href='http://www.pigsfly.com/forums/index.php?showtopic=4193' class='bbc_url' title=''>http://www.pigsfly.c...?showtopic=4193</a> but copying the settings, modifying every point XY value and pasting it back is not a very smart solution.<br />
<br />
I know, that holding the M key while dragging the center point will keep the polyline in place. Another solution would be the point editor (E key) menu that offers a nice offset function for a point or group of points.<br />
<br />
Am I missing something essential here?<br />
<br />
- Fry<br />
<br />
(BTW, I'm back in the industry, baby!)]]></description>
		<pubDate>Mon, 14 Nov 2011 19:48:05 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7160</guid>
	</item>
	<item>
		<title>Python On Vfxpedia</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7158</link>
		<description><![CDATA[I've added a little page with information on how to use Python with Fusion. Feel free to expand/improve it :-)<br />
<br />
<a href='http://www.vfxpedia.com/index.php?title=Python_Scripting' class='bbc_url' title='' rel='nofollow'>http://www.vfxpedia.com/index.php?title=Python_Scripting</a>]]></description>
		<pubDate>Sun, 13 Nov 2011 18:54:46 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7158</guid>
	</item>
	<item>
		<title>Python Import Problem: Parent Module Not Found</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7155</link>
		<description><![CDATA[Hi,<br />
<br />
I was just doing some first steps with Python. I have this import directive in a comp script:<br />
<br />
<pre class='prettyprint'>
from xml.dom.minidom import parse
</pre>
<br />
and although the code further down seems to be working, I get this error message from Fusion:<br />
<br />
<br />
<pre class='prettyprint'>
C:/Users/Public/Documents/eyeon/Fusion/Scripts/Comp/Import XML Subtitles.py:8: RuntimeWarning: Parent module 'C:/Users/Public/Documents/eyeon/Fusion/Scripts/Comp/Import XML Subtitles' not found while handling absolute import
  from xml.dom.minidom import parse
</pre>
<br />
I changed the import to<br />
<br />
<pre class='prettyprint'>
import xml.dom.minidom
</pre>
<br />
and the error is gone (and everything still works). Afterwards, I changed the line back to the first version and the error message doesn't come up again until I restart Fusion. What's going on? What's the right way to do this?<br />
<br />
Stefan]]></description>
		<pubDate>Sat, 12 Nov 2011 11:58:55 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7155</guid>
	</item>
	<item>
		<title>Get Current Settings</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7131</link>
		<description><![CDATA[Hey there Folks!<br />
 <br />
I was just wondering if it&#180;s possible to get the Attributes from a selected slot ( S1, S2, S3.. etc under the tool name bar )<br />
 <br />
I know how to get the slot name by using  &gt;&gt; slot = Background.GetCurrentSettings()<br />
..now how to get for example the "Color" on the Background tool on that Slot?<br />
 <br />
thanx.<br />
 <br />
*Dunn]]></description>
		<pubDate>Fri, 21 Oct 2011 13:01:31 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7131</guid>
	</item>
	<item>
		<title>Using The Dist3D Function</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7128</link>
		<description><![CDATA[Hi!<br />
 <br />
I'm trying to calculate the distance between a camera and a 3d locator using the dist3d() function inside an expression modifier (<a href='http://www.vfxpedia.com/index.php?title=Eyeon:Manual/Tool_Reference/Modifiers/Expression' class='bbc_url' title='' rel='nofollow'>http://www.vfxpedia....iers/Expression</a>).<br />
Unfortunately I cannot get it to work. Here's my full expression code:<br />
 <br />
<pre class='prettyprint'>
dist3d(point_sharp:GetValue("Transform3DOp.Translate.X"),point_sharp:GetValue("Transform3DOp.Translate.Y"),point_sharp:GetValue("Transform3DOp.Translate.Z"),cam_render_baked:GetValue("Transform3DOp.Translate.Z")*.1,cam_render_baked:GetValue("Transform3DOp.Translate.Y")*.1,cam_render_baked:GetValue("Transform3DOp.Translate.X")*.1)
</pre>
 <br />
I also tried this one, it didn't work either:<br />
 <br />
<pre class='prettyprint'>
dist3d(point_sharp.Transform3DOp.Translate.X,point_sharp.Transform3DOp.Translate.Y,point_sharp.Transform3DOp.Translate.Z,cam_render_baked.Transform3DOp.Translate.X*.1,cam_render_baked.Transform3DOp.Translate.Y*.1,cam_render_baked.Transform3DOp.Translate.Z*.1)
</pre>
 <br />
I tried dist3d(0,0,0,1,1,1) and there was a correct result, but my version just outputs 0.<br />
 <br />
Can someone please give me a hint on whats wrong with my expression?<br />
Thank you!<br />
 <br />
regards,<br />
Henning]]></description>
		<pubDate>Thu, 20 Oct 2011 11:41:03 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7128</guid>
	</item>
	<item>
		<title>Compname In Text Tool - Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7118</link>
		<description><![CDATA[Hi everyone,<br />
 <br />
I'm trying to create a TextTool in my Python script. This TextTool should contain the "CompName" modifier so that it produces the current comp name. Of course I could read the name via the  comp.GetAttrs()["COMPS_FileName"] function, but then the fusion comp wouldn't change the text tool by itself every time I save a new version of the flow (e.g. from "Flowv01.comp" to "Flow_v02.comp".<br />
Is there a way that I can write the comp name into an expression? -&gt; text_tool.SetExpression(Text("comp_name_var_here"))<br />
 <br />
Best regards]]></description>
		<pubDate>Wed, 12 Oct 2011 15:09:47 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7118</guid>
	</item>
	<item>
		<title>Comp Globalstart</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7090</link>
		<description><![CDATA[Guys, i need advice.<br />
Is there a way to achieve composition GlobalStart time via simple expressions?<br />
 <br />
i need this (but i can get it in console and toolscript only):<br />
=comp:GetAttrs()['COMPN_GlobalStart']<br />
 <br />
thanx.]]></description>
		<pubDate>Tue, 27 Sep 2011 08:35:56 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7090</guid>
	</item>
	<item>
		<title>Visible Range</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7084</link>
		<description><![CDATA[Hi,<br />
 <br />
Is there a way to get the 'visible range' in a script? Doesn't seem to be a comp attribute.<br />
 <br />
J]]></description>
		<pubDate>Fri, 23 Sep 2011 17:05:11 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7084</guid>
	</item>
	<item>
		<title><![CDATA[Iup &#38; Fusion]]></title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7073</link>
		<description><![CDATA[Hi there. Sorry guys for this maybe stupid question, but i'm not a real programmer/scripter.<br />
How do i use iup interfaces in fusion? I mean, how can i build a simple interface with iup inside an eyeonscript.. script ?<br />
Should i load some library or something ?<br />
 <br />
Thanks<br />
bax]]></description>
		<pubDate>Sat, 17 Sep 2011 14:02:34 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7073</guid>
	</item>
	<item>
		<title>Forgetful Wireless Node</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7051</link>
		<description><![CDATA[Hello,<br />
 <br />
is it only me or is the fact that copied and pasted wireless forget their Input annoying anyone else?<br />
 <br />
We use some wireless up to 20 times in a comp and it's annoying to get the input over and over again. I don't understand why this happens in the first place? What's the benefit?<br />
 <br />
Is there a solution other than copying it as Instance (which causes other problems)<br />
 <br />
Thanks Chris]]></description>
		<pubDate>Wed, 07 Sep 2011 15:50:31 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7051</guid>
	</item>
	<item>
		<title>Scan Folder Issue</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7035</link>
		<description><![CDATA[Hi everybody,<br />
I'm  trying to search for a file in the comp directory via script. I know the name of the file and of course  the comp path.<br />
Now: i'm using readdir() to look in the path, but maybe i don't know how to use it correctly because i can easly find out a list of folders and go through it, but i want to automatically look in the comp main folder and subfolders, until the maximum depth for any of them, to see if my file is already there. Wrong approach?<br />
 <br />
All this stuff is meant to be part of a script to relocate sources that are not in the right place(comp path).<br />
 <br />
Thanks in advance<br />
Paolo]]></description>
		<pubDate>Tue, 30 Aug 2011 14:50:35 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7035</guid>
	</item>
	<item>
		<title><![CDATA[Strange &#34;im&#34; In Console )]]></title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7026</link>
		<description><![CDATA[Guys, a`m (accidental) enter in cosole name of my imagePlane3D object - it was "im"<br />
 <br />
so.. instead of =comp.im i enter this :<br />
=im<br />
 <br />
and get table!..<br />
and then i enter this:<br />
==im  <br />
 <br />
and get :<br />
<pre class='prettyprint'>table: 000000000D4FA520
    CalcHistogramStatistics = function: 000000000D843640
    ProcessFlipNew = function: 000000000D50F380
    ALPHA = 256
    ProcessDiffOfGaussianConvolveNew = function: 000000000D858090
    ProcessRenderBox = function: 000000000D844C60
    GAMUT_POW = 1
    ProcessMirrorNew = function: 000000000D50F320
    CalcSNR = function: 000000000D8434C0
    ProcessRotate180New = function: 000000000D50F2C0
    ProcessPixelateNew = function: 000000000D85A1B0
    PaletteMagenta = function: 000000000D842FF0
    FileClose = function: 000000000D8417C0
    ProcessRenderCosine = function: 000000000D844D20
    AnalyzeMeasureHoles = function: 000000000D8437C0
    ERR_COMPRESS = 5
    ProcessDifusionErrThresholdNew = function: 000000000D859FD0
    PaletteCreate = function: 000000000D843400
    UN_INC = 3
    CalcGrayHistogram = function: 000000000D8435E0
    ProcessMergeComponents = function: 000000000D844870
    ProcessRenderAddGaussianNoise = function: 000000000D844AE0
    ProcessBitMaskNew = function: 000000000D859AD0
    ProcessRankMaxConvolveNew = function: 000000000D857EB0
    INT = 2
    ProcessCalcRotateSize = function: 000000000D843B50
    FileNewRaw = function: 000000000D841760
    ProcessSliceThresholdNew = function: 000000000D85A150
    ProcessBinMorphThinNew = function: 000000000D857D30
    UN_COS = 10
    ProcessReduceBy4New = function: 000000000D50F200
....
...
....  
and so on...
</pre>
 <br />
 <br />
<strong class='bbc'>what is this ?</strong> <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/blink.png' class='bbc_emoticon' alt=':blink:' /><br />
 <br />
on end of that list i find string :<br />
_COPYRIGHT = Copyright &copy; 1994-2005 Tecgraf/PUC-Rio and PETROBRAS S/A<br />
_NAME = IM - An Imaging Toolkit<br />
so, ImagingToolkit... - who are you ? )]]></description>
		<pubDate>Wed, 24 Aug 2011 09:18:31 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7026</guid>
	</item>
	<item>
		<title>Getting Glview Objects List Or Glview Object Of Active View</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7025</link>
		<description><![CDATA[I want to enable Buffer LUT on some of my viewers. I can do this for right or left view using comp.CurrentFrame.RightView and comp.CurrentFrame.LeftView objects. But how do I refer to my floating views? How do I get their names?<br />
Second thing -  Is there a way to refer only to active view?]]></description>
		<pubDate>Wed, 24 Aug 2011 07:53:57 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7025</guid>
	</item>
	<item>
		<title>3D Space Input Size ?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7023</link>
		<description><![CDATA[Hi Group,<br />
 <br />
is there a way for a 3D tool to get Input's Width / Height , especially for Image Plane?<br />
I am trying to create a simple 5x5 locator set-up for Bicubics (with the technique mentioned here: <a href='http://www.pigsfly.com/forums/index.php?showtopic=7009' class='bbc_url' title=''>http://www.pigsfly.com/forums/index.php?showtopic=7009</a> ) and i'd like to get them equally distributed based on Input (ImagePlane or Shape3D_Plane). I can get it hardcoded with Shape3D_Plane, but with my humble skills i don't know how to achieve it with ImagePlane3D.<br />
 <br />
also is there a way to get AE's equivalent of "=value" in SimpleExpression ?<br />
 <br />
i.e. i want to have Locator3D.Translate.X  = ImagePlane3D.Tanslate.X + Locator's own X value - to have Locator translated when i move ImagePlane and also to be able to move Locator separately, with its handles in 3D view. I know a can get it with Calculation modifier, however having 5x5x3 mods for such set-up is a bit messy.<br />
 <br />
thx in advance]]></description>
		<pubDate>Tue, 23 Aug 2011 08:54:43 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7023</guid>
	</item>
	<item>
		<title>Is There A Way To View Psd Files In Generation Player?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7022</link>
		<description><![CDATA[I am wondering if there is a technique - through scripting perhaps to view .psd files in Generation Player?<br />
thanks,<br />
nick]]></description>
		<pubDate>Tue, 23 Aug 2011 01:19:33 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7022</guid>
	</item>
	<item>
		<title>Dod For Fuses</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7014</link>
		<description><![CDATA[<a href='http://www.vfxpedia.com/index.php?title=Eyeon:Manual/Fusion_6/Fusion_6.2_Build_897#Scripts.2C_Scripting_and_Fuses' class='bbc_url' title='' rel='nofollow'>http://www.vfxpedia.com/index.php?title=Eyeon:Manual/Fusion_6/Fusion_6.2_Build_897#Scripts.2C_Scripting_and_Fuses</a><br />
<br />
Christmas is coming early :-)]]></description>
		<pubDate>Thu, 18 Aug 2011 07:11:34 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7014</guid>
	</item>
	<item>
		<title>Python: How Do I Use Functions From Glview Class?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=7000</link>
		<description><![CDATA[This may be a stupid question, but I need to know how to call 'EnableLUT' function from 'GLView' class. I want to enable LUT for all buffers and set it to Gamut (sRBG) and I'm a bit tired of choosing it from a menu.]]></description>
		<pubDate>Fri, 12 Aug 2011 11:34:58 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=7000</guid>
	</item>
	<item>
		<title>Editing Note Using A Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6987</link>
		<description><![CDATA[How do I modify sticky notes text using a script? Is the note text inside of some input node connected to note tool? I can't find it.]]></description>
		<pubDate>Thu, 28 Jul 2011 12:03:54 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6987</guid>
	</item>
	<item>
		<title>Placing New Tool In Last Clicked Position</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6986</link>
		<description><![CDATA[I want the 'M' key to create a 'Merge' node right where I clicked in the flow. I've created a simple script:<br />
fusion = Fusion()<br />
composition = fusion:GetCurrentComp()<br />
composition:AddTool("Merge")<br />
placed it in Scripts:Tool folder and mapped it to 'M' key. Unfortunately the tool doesn't want to show where I clicked but it jumps to 'zero' position. When I choose tool from applications menu everything is ok - new tool is placed just where I clicked.<br />
What am I doing wrong?]]></description>
		<pubDate>Thu, 28 Jul 2011 10:48:41 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6986</guid>
	</item>
	<item>
		<title>I There A Way To Check If Fusion Is In Proxy Mode?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6976</link>
		<description><![CDATA[I there a way to check if fusion is in proxy mode? and if yes what is the resolution of the proxy?<br />
<br />
thanks]]></description>
		<pubDate>Wed, 20 Jul 2011 15:17:58 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6976</guid>
	</item>
	<item>
		<title>Get Input Dimensions</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6974</link>
		<description><![CDATA[How to make sure that this query "inputSizeX =  tool.GetAttrs("TOOLI_ImageWidth"), gets sensible data without user actually viewing<br />
the tool?  Any ideas, or if there is an alternative way how to  obtain Input Dimensions?<br />
<br />
Any help would be greatly appreciated!<br />
Thanks <br />
<br />
M]]></description>
		<pubDate>Wed, 20 Jul 2011 13:12:42 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6974</guid>
	</item>
	<item>
		<title>Read Renderer Mode</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6970</link>
		<description><![CDATA[Hello everyone,<br />
<br />
I'm trying to search my comp for any 3d renderers that are running in OpenGL mode so that i can submit it to our renderfarm manager with a certain machine limit.<br />
<br />
When I try to read the found tools using this:<br />
<br />
<pre class='prettyprint'>renderer_used= comp:GetToolList(false, "Renderer3D")
for i = 1, table.getn(renderer_used) do
	renderer_type = renderer_used&#91;i&#93;.RendererType
        print(renderer_type)
</pre>
<br />
I only get this response:<br />
"Input (0x3F9B3CB0) [App: 'Fusion' on 127.0.0.1, UUID: 24ae7fef-4d97-4c02-aa6b-2fed5a255e4e]"<br />
I don't know how to turn this into a value that I can compare to anything.<br />
Is there any way that I can read a string that says "RendererOpenGL" like it says in the flow file?]]></description>
		<pubDate>Tue, 19 Jul 2011 12:08:53 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6970</guid>
	</item>
	<item>
		<title>Frame Saved Script - Write Into Txt-File</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6966</link>
		<description><![CDATA[what i want <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/wink.gif' class='bbc_emoticon' alt=';)' /> :<br />
<br />
a simple Frame Saved Script , which put some Infomrations in a Text-file per Frame.<br />
<br />
1. Comp-name <br />
2. current Framenumber<br />
3. maschine - name <br />
<br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>log = io.open("y:&#092;&#092;Fusion&#092;&#092;renderlog.txt","a")<br />
log:write("&#092;n ttt3")<br />
log:close()</div></div>
<br />
so far... but if i want to add the comp-name like in my "changesavername" -script <br />
<br />
"compName=string.gsub(comp:GetAttrs().COMPS_Name, "%.comp", "")" i only get:<br />
<br />
[string "compName=string.gsub(comp:GetAttrs().COMPS_..."]:1: attempt to call method 'GetAttrs' (a nil value)   ???<br />
<br />
and how i can get the computer-name ?]]></description>
		<pubDate>Mon, 18 Jul 2011 15:40:32 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6966</guid>
	</item>
	<item>
		<title>Modify Script To Load Fbx Sequence So That I Can Move It In Timeline?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6963</link>
		<description><![CDATA[I've got a very primitive script that when copied into the 'Frame Render Script' area of an FBX mesh, will allow me to play an FBX sequence like (Elmer_000.fbx, Elmer_001.fbx, etc.)<br />
<br />
MyPadding=3<br />
MyFrameNum=string.format("%0"..MyPadding.."d", time)<br />
ImportFile="D:&#092;&#092;ElmerFusionFBX&#092;&#092;Elmer_"..MyFrameNum.. ".fbx"<br />
<br />
Currently, I've got to set Fusion's ending frame to the highest number in the FBX sequence.<br />
<br />
Thinking ahead, I'd like to be able to move the FBX mesh around in the timeline, and certainly not be limited as to what I can put into the ending frame number for Fusion.<br />
<br />
Any thoughts on how I can create a script with a bit more flexibility - that knows that I've moved it in the timeline, but will always start with the first Fbx file(xxx _000.FBX), and ... maybe, be able to read the directory and SEE for itself what the highest FBX sequence number is?<br />
<br />
I'd like to be able to just give it a folder name and the 'name' of the sequence, and have it work, where ever I put it.<br />
<br />
BTW - I'm agnostic as to scripting language.  If Python is the way to go, I'll go in that direction.  <br />
<br />
I currently program in C# but have used Pascal, C, C++ and even 6800 and z80 assembly language (which probably really dates me).  But, I've never coded for Fusion.<br />
<br />
Thanks!!!]]></description>
		<pubDate>Tue, 12 Jul 2011 05:01:16 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6963</guid>
	</item>
	<item>
		<title>Bezierspline, How Set Keyframe Tangents</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6962</link>
		<description><![CDATA[Hi,<br />
I'm new to fusion scripting and I'm writing a lua tool to import the maya stereo camera rig inside fusion.<br />
I'm at the point that I shoul set all the kayframes of the camera.<br />
I attached a new BezierSpline to the translate and rotate in this way<br />
<br />
mycamera.Translate.X:ConnectTo(BezierSpline({}))<br />
mycamera.Translate.X[current_frame] = ...<br />
<br />
but now How could set the tangets value and the interpolation type of the current keyframe???<br />
<br />
thank you<br />
Alan]]></description>
		<pubDate>Mon, 11 Jul 2011 09:17:26 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6962</guid>
	</item>
	<item>
		<title>How Can I Access Offset Of A Tracker Through Python?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6956</link>
		<description><![CDATA[I need to change offsets of several trackers inside Tracker node. I don't want to do it manually, because it involves some math. I'd prefer to set everything using a Python script but I don't know how to access individual trackers. Can anyone help?]]></description>
		<pubDate>Fri, 08 Jul 2011 15:25:59 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6956</guid>
	</item>
	<item>
		<title>Colorize Merge By Apply Mode</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6951</link>
		<description><![CDATA[Simple code:<br />
<pre class='prettyprint'>m01 = Merge1

if m01.ApplyMode == "Multiply" then
TileColor = {R=1, G=1, B=1}
TextColor = {R=.1, G=.1, B=.1}
end</pre>
not working, what is my mistake?<br />
<br />
<br />
how to find in comp only merges to apply colorize?<br />
<pre class='prettyprint'>
tools = comp:GetToolList()   
appmo = tools:GetAttrs().TOOLS_RegID
</pre>]]></description>
		<pubDate>Thu, 07 Jul 2011 12:31:47 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6951</guid>
	</item>
	<item>
		<title>== In Python Console?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6934</link>
		<description>Is there something like the == command in Python? In Lua it prints a table in a nicely formatted way. Printing a table in Python putputs a single line with too many parantheses.</description>
		<pubDate>Thu, 30 Jun 2011 07:20:53 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6934</guid>
	</item>
	<item>
		<title>Passthrough Saver By Expression / Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6932</link>
		<description><![CDATA[Dear Forum,<br />
<br />
in my Flow i used the 8-Switcher-Macro, (<a href='http://vfxpedia.com/index.php?title=Settings_and_Macros/Switch8er_Description' class='bbc_url' title='' rel='nofollow'>http://vfxpedia.com/index.php?title=Settings_and_Macros/Switch8er_Description</a>)<br />
to setup a complex composite. with simple expressions<br />
i switch tool-branches automatically based on the switcher value. (COLOR_SELECTOR.Input1) is my trigger.<br />
e.g. <br />
COLOR_SELECTOR.Input1 - 0 = red CC<br />
COLOR_SELECTOR.Input1 - 1 = blue CC<br />
COLOR_SELECTOR.Input1 - 2 = green CC<br />
<br />
at least i wanted to switch 6 different savers on&off,<br />
not by frame range, but by the switcher value.<br />
<br />
i tried Frame/Start/End Render Scripts<br />
<pre class='prettyprint'>if COLOR_SELECTOR.Input1 == 0 then
Saver0:SetAttrs({TOOLB_PassThrough = false}) 
print ("PASSTHROUGH OFF")
else
Saver0:SetAttrs({TOOLB_PassThrough = true})
print ("passthrough on")
end</pre>
<br />
Even with the right loop/print result, "passthrough on", the saver keeps writing files....<br />
<br />
can anyone give me a hint ?<br />
how i can correctly pass through a savernode<br />
based on a given value of another node ?<br />
is it the right way to put these script into the savers' (e.g. start/end) scripts-window ?<br />
<br />
thanks in advance,<br />
marc]]></description>
		<pubDate>Wed, 29 Jun 2011 12:56:45 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6932</guid>
	</item>
	<item>
		<title>How To Read Out Loader Depth?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6931</link>
		<description><![CDATA[Hello,<br />
<br />
I'm searching for a way to read out the Loader depth of my footage via eyeonscript. The footage is EXR but changes in depth. <br />
I create a Saver for every Loader in the scene and the Saver should always match the Loaders depth.<br />
<br />
Hope you do understand what I mean.<br />
<br />
Chris]]></description>
		<pubDate>Wed, 29 Jun 2011 08:14:48 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6931</guid>
	</item>
	<item>
		<title>Metadata</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6929</link>
		<description><![CDATA[Hi all,<br />
<br />
Simple question... I have this in a fuse to read the metadata of the Fuse's input and dump the values.<br />
<br />
<pre class='prettyprint'>local img = InImage:GetValue(req)

metadata = img.Metadata

dump(img.Metadata)</pre>
<br />
I get this back<br />
<br />
<pre class='prettyprint'>table: 09593D58
	screenWindowWidth = 1
	comment = mycomment
	order = C { r g b } A
	Filename = Y:&#092;filepath&#092;P1_allMattes_285.exr
	screenWindowCenter = table: 09593D28
		1 = 0
		2 = 0
</pre>
<br />
Is this the only metadata that Fusion can read from an EXR?  I have put in other fields like Artist and Hostname but they do not appear. I'm still looking for an app that will read the metadata from the EXR independently to be sure it's actually there (XNview won't load the file) so I thought I'd fire the question while I was looking.<br />
<br />
Cheers<br />
<br />
J<br />
<br />
PS.. it's an EXR straight out of Houdini, I haven't tried to add the metadata through any other app.<br />
<br />
EDIT:  This is more a Houdini problem I think as I can of course read all arbitrary metadata I supply to an EXR via Fusion but it's worth asking in case there's a houdini bod out there]]></description>
		<pubDate>Mon, 27 Jun 2011 09:42:44 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6929</guid>
	</item>
	<item>
		<title>Orbiting Camera?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6926</link>
		<description><![CDATA[Hello Fusioneers,<br />
<br />
how can I get my camera to orbit around an object keeping the object center frame?<br />
I'm sure it's simple but I've tried with sine curves on X and Y displacement and wasn't a 100% success.<br />
I was wondering if anyone has a better solution that loops seamlessly..<br />
<br />
thanks]]></description>
		<pubDate>Fri, 24 Jun 2011 14:53:28 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6926</guid>
	</item>
	<item>
		<title>Getting The Value Of A Macro Input</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6919</link>
		<description><![CDATA[i'm trying to build a new macro and it will have 2 inputs, each of these inputs should be 3D tools. in my macro i want to read out the 3d transformation of the inputs<br />
<br />
whats the syntax for that (in a simple expression)?<br />
<br />
i tried <br />
<br />
<pre class='prettyprint'>PipeRouter1.Input.Transform3DOp.Translate.X</pre> but that doesnt work]]></description>
		<pubDate>Sat, 11 Jun 2011 22:12:34 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6919</guid>
	</item>
	<item>
		<title>Complete List Of Attribs / Node ? .. ( Py )</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6904</link>
		<description><![CDATA[hi all ! ,<br />
<br />
.. before i use Python itself to extract attribs from each node and document myself ; <strong class='bbc'>is there any compiled list of ' those ' ??</strong><br />
<br />
a good example of what im looking for , is the " scripting.v03.pdf " , page 221 , about the Loader node attribs ..<br />
<br />
..<br />
<br />
any help wd be greatly appreciated ..<br />
<br />
or , if someone has already done that and shares it here , .. that wd be simply Adorable* !!<br />
<br />
<br />
<br />
thanks !]]></description>
		<pubDate>Sat, 04 Jun 2011 19:24:13 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6904</guid>
	</item>
	<item>
		<title>Auto-Execute Script On Fusion Startup</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6884</link>
		<description><![CDATA[Hi All!<br />
<br />
I am trying to find a way (no luck so far) to start fusion and make it auto-execute my python code (to allow another app to launch fusion and to run script inside fusion), something one can do in nuke for example via simple command<br />
<br />
C:/PATH/Nuke6.2.exe D:/PATH/script.py<br />
<br />
Any way to do something like this with fusion? Thanks in advance for any help!]]></description>
		<pubDate>Fri, 13 May 2011 19:55:50 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6884</guid>
	</item>
	<item>
		<title>Open Exr</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6869</link>
		<description><![CDATA[Hi,<br />
<br />
I am loading a exr file, and try to get the channels, but its giving only one name "1 = SomethingThatWontMatchHopefully"<br />
<br />
but it has 6passes, please help<br />
<br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>function process()<br />
	composition:Lock()<br />
	exrFileName = "D:/fusion_6_passes.exr"<br />
	myLoader = Loader({Clip = exrFileName})<br />
	myEXRLoader1 = myLoader.Clip1.OpenEXRFormat<br />
	channelListT = myEXRLoader1.RedName:GetAttrs().INPIDT_ComboControl_ID<br />
	dump(channelListT)<br />
	composition:Unlock()<br />
end<br />
<br />
process()<br /></div></div>
<br />
thankyou]]></description>
		<pubDate>Thu, 05 May 2011 07:12:59 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6869</guid>
	</item>
	<item>
		<title>Get Sceneinput Properties Via Simple Expression</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6852</link>
		<description><![CDATA[Ok, folks, looks like intool script is not so good for my task, as i expect <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /><br />
<br />
Can i dug Up attributes for object, that feed in to my3DTool.SceneInput ?<br />
Without knowing his name in flow offcourse.<br />
And i need it in simpleExpression.<br />
<br />
In other words, i need something like <pre class='prettyprint'>selfTool.SceneInput:GetConnectedOutput():GetTool().neededToolAttribute</pre> but in simpleExpression form.]]></description>
		<pubDate>Fri, 22 Apr 2011 13:28:11 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6852</guid>
	</item>
	<item>
		<title>Affect Transform3D Via Intool Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6850</link>
		<description><![CDATA[I`m trying to play with 3D position via intool script, but no success..  <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/unsure.gif' class='bbc_emoticon' alt=':unsure:' /> <br />
<br />
i tried this:<br />
Transform3DOp.Translate.X = 12<br />
<br />
hmm..  <br />
<pre class='prettyprint'>dump(Transform3DOp.Translate.X)</pre>
return actuall X position.<br />
<br />
In general  - i have mylocator3D and another_3Dobject, already connected to mylocator3D.SceneInput.. <br />
and i trying get the properties for "another_3Dobject", via SceneInput.GetConnectedOutput().GetTool() - but without success too <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/sad.gif' class='bbc_emoticon' alt=':(' /><br />
<br />
mybe you know some way to get properties for the object, that connected to SceneInput in myLocator ?<br />
thanx!<br />
<br />
========================= UPD==================<br />
Answers: <a href='http://vfxpedia.com/index.php?title=EyeonTips:Script/Reference/Applications/Fusion_Expressions/Introduction#Example_InTool_script_for_3D_tool' class='bbc_url' title='' rel='nofollow'>vfxPedia</a>:]]></description>
		<pubDate>Wed, 20 Apr 2011 13:55:09 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6850</guid>
	</item>
	<item>
		<title>Python Script On Custom Toolbar</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6843</link>
		<description><![CDATA[Guys, i curious , that i can`t put my python scripts to custom toolbar  <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/mf_dribble.gif' class='bbc_emoticon' alt=':mf_dribble:' /> <br />
<a href='http://my.jetscreenshot.com/3685/20110415-yig9-36kb' class='bbc_url' title='' rel='nofollow'><img src='http://my.jetscreenshot.com/3685/m_20110415-yig9-36kb.jpg' alt='Posted Image' class='bbc_img' /></a><br />
<br />
i mean - they don`t working from there.]]></description>
		<pubDate>Fri, 15 Apr 2011 15:44:13 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6843</guid>
	</item>
	<item>
		<title>Help Needed - Starting A Script From Within A Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6822</link>
		<description><![CDATA[Hi,<br />
it's me again <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /><br />
I have two eyeonscripts. <strong class='bbc'>Script1</strong> setting the right savers to Render and <strong class='bbc'>script2</strong> to send the comp to our RenderManager<br />
<br />
Now I want Script1 to call Script2 after processing.<br />
<br />
Probably it's very easy but I can't get it to work<br />
<br />
Thanks<br />
Chris]]></description>
		<pubDate>Tue, 29 Mar 2011 13:17:02 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6822</guid>
	</item>
	<item>
		<title>Change Comments On A Node Via Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6816</link>
		<description><![CDATA[Hello,<br />
<br />
I'm trying to change the text in a Nodes Comments Field using a eyonscript. Changing a Name I would use <strong class='bbc'>SetAttrs({TOOLS_Name = "New_Name"})</strong> but it seems there's no way to change the comments field this way. At least it does not get listed dumping the tool:GetAttrs()  <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/blink.gif' class='bbc_emoticon' alt=':blink:' /> <br />
<br />
Hope somebody can help me, because I really need to get this working.<br />
<br />
Chris]]></description>
		<pubDate>Thu, 24 Mar 2011 15:53:22 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6816</guid>
	</item>
	<item>
		<title>Fusion Polygon Drawstyle Toggle</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6795</link>
		<description>how in fusion or if their is any script to toggle between draw style of polygon from dotted to normal one ? or how it can also have a keyboard shortcut mapped to execute the script .</description>
		<pubDate>Tue, 08 Mar 2011 16:04:46 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6795</guid>
	</item>
	<item>
		<title><![CDATA[&#34;unfinished Capture&#34; - Can't Look For &#34;(&#34; In A String?]]></title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6791</link>
		<description><![CDATA[from the console:<br />
<br />
<pre class='prettyprint'>&gt; string.find("(as)df", ")")
&gt; string.find("(as)df", "(")
&#91;string "string.find("(as)df", "(")"&#93;:1: unfinished capture</pre>
<br />
why would fusion be able to search for ")" but not "("? in the documentation, it says "&#092;" is the only escape character? i've tried all kinds of variations, like "&#092;(" or having the character in a variable and using that variable instead... nothing. <br />
<br />
does anybody here know what's up with that? i don't need it for my current script any more but it would be good to know for the future.]]></description>
		<pubDate>Sun, 06 Mar 2011 05:08:10 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6791</guid>
	</item>
	<item>
		<title>Switching Comp While Running A Script:</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6732</link>
		<description><![CDATA[Is it possible to get some variables from one comp and apply to another while running the same script.<br />
Basically, I want to take the file path from current comp's saver, open a new comp and put that path into a Loader...:fingerscr<br />
<br />
<br />
 So, if I'am in comp1 and running the script to get saver path, thn opening existing  slate comp (comp2), and tryin to put tht variable in MainLoader of comp2, <br />
while doing this, the script looks for MainLoader before opening the new comp and gives error...<br />
Any idea?]]></description>
		<pubDate>Thu, 10 Feb 2011 11:05:34 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6732</guid>
	</item>
	<item>
		<title>Add Tool Event</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6714</link>
		<description><![CDATA[Hellou )<br />
<br />
Guys, please help me little bit )<br />
Can I create event on adding "loader" tool ?<br />
<br />
my task :  <br />
<strong class='bbc'>if</strong> <em class='bbc'>artist added image-sequence(loader) with "_blabla_" in path name</em> (for exmpl - c:&#092;scene1_location34_blabla_###.exr)<br />
      <strong class='bbc'>then</strong> <em class='bbc'>do something</em> (add blur tool after my loader.. or like that)<br />
<br />
thanx!<br />
<br />
<br />
PS: artist can add sequence by :<br />
1) manual creating loader through addTool menu<br />
2) "drug&droop" from browser]]></description>
		<pubDate>Tue, 01 Feb 2011 10:01:12 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6714</guid>
	</item>
	<item>
		<title>How To Get R3Dformat Values?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6706</link>
		<description><![CDATA[Hi,<br />
<br />
I would like to get the value of the WhiteBalance from a R3D Loader. I need this attribute: <br />
<br />
<pre class='prettyprint'>Loader1.Clip1.R3DFormat.WhiteBalance</pre>
I've tried several methods with no success.<br />
<br />
Thanks in advance,<br />
Peter]]></description>
		<pubDate>Wed, 26 Jan 2011 06:48:43 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6706</guid>
	</item>
	<item>
		<title>Setting 3D Controls Values With Intool Scripts</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6700</link>
		<description><![CDATA[Hello!<br />
<br />
It's pretty straight forward to set any parameters just entering a Name = Value in the Frame Render Script field.<br />
But it doesn't work for compound parameter names like those being used in 3D tools (e.g. pEmitter).<br />
<br />
"Number = 5" will work whilst "SphereRgn.Translate.X = 5" won't, although it works in simple expressions.<br />
<br />
What is the syntax?<br />
<br />
Thanks in advance!]]></description>
		<pubDate>Sun, 23 Jan 2011 16:25:45 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6700</guid>
	</item>
	<item>
		<title>Inheriting Translation  Link Transform Node</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6647</link>
		<description><![CDATA[Hi and a Happy new year,<br />
<br />
I am working on a plugin where i need to inherit a traslation from one offset control (as 'automatic' bounding box pivot) to another one (as the user hand offset).<br />
i tryied several things, digging in the input.h and standardcontrol.h, where i found a nice ACP_center for the anglecontrol that let him inherit translation from another another node.<br />
I am currently using a SetSource inside the process function which makes the process to run endlessly. That a solution, but not the good one.<br />
<br />
Does someone have any ideas, or the transform node source code ?<br />
<br />
Thanks,<br />
Xavier]]></description>
		<pubDate>Thu, 06 Jan 2011 22:04:58 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6647</guid>
	</item>
	<item>
		<title>Flowview With Close() Crashes Fusion. Reproduceable?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6623</link>
		<description><![CDATA[Can somebody reproduce this:<br />
<br />
When running this, through f.ex. a console, fusion crashes:<br />
<br />
c = fusion:NewComp();flow = c.CurrentFrame.FlowView;c:Close();<br />
<br />
even the same if you put it inside a function and run it through cmd:<br />
<pre class='prettyprint'>fusion = Fusion("localhost");
c = fusion:NewComp();
SetActiveComp(c);
local myFunction = function() 
	flow = c.CurrentFrame.FlowView 
end;
myFunction()
c:Close();</pre>
<br />
Am I doing smt wrong here, or is there a way to avoid this<br />
<br />
Thx<br />
<br />
Chr]]></description>
		<pubDate>Sat, 18 Dec 2010 02:08:20 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6623</guid>
	</item>
	<item>
		<title>Get Bounding Box Of 3D Shape Or Text3D</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6617</link>
		<description><![CDATA[how to Get Bounding Box Of 3D Shape Or Text3D<br />
is there a way to get this data from python?<br />
<br />
Thank you!]]></description>
		<pubDate>Thu, 16 Dec 2010 19:17:41 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6617</guid>
	</item>
	<item>
		<title>Updated Script: Destabilize Transform</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6616</link>
		<description><![CDATA[Hi,<br />
<br />
on vfxpedia, Gringo suggested to make the destabilize transform tool script work with more than just Xf nodes. I have extended the script a bit but it would need some testing before I'll upload it to vfxpedia. Basically, it should work with masks, the grid warp, the Text+ tool and everything that has a center or angle control. It will auto-detect what's available and display the proper checkboxes.<br />
<br />
However, I had to change the way the script operates. Previously, it would connect to the STABLE positions and use the "invert transform" feature found in Xf tools. Since this doesn't work for other tools, I had to connect to the tracker's UNSTABLE values now. I don't know if that gets you different results or why this was done in the first place (maybe a remnant from DF 4?). Would be nice to get some feedback :-)<br />
<br />
Here it is:<div id='attach_wrap' class='clearfix'>
	<h4>Attached Files</h4>
	<ul>
		
			<li class='attachment'>
				<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=1971" title="Download attachment"><img src="http://www.pigsfly.com/forums/public/style_extra/mime_types/txt.gif" alt="Attached File" /></a>
&nbsp;<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=1971" title="Download attachment"><strong>Destabilize Transform v3.eyeonscript.txt</strong></a> &nbsp;&nbsp;<span class='desc'><strong>8.04K</strong></span>
&nbsp;&nbsp;<span class="desc lighter">16 downloads</span>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Thu, 16 Dec 2010 13:20:33 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6616</guid>
	</item>
	<item>
		<title>How To Connect Multiple Nodes To One 3D Merge Node In Python?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6612</link>
		<description>please ignore this!</description>
		<pubDate>Tue, 14 Dec 2010 19:35:46 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6612</guid>
	</item>
	<item>
		<title>Renaminfg Node From Python?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6611</link>
		<description><![CDATA[how would you go about changing name of node in python? <br />
<br />
thanx]]></description>
		<pubDate>Tue, 14 Dec 2010 16:15:33 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6611</guid>
	</item>
	<item>
		<title>Set Focus On / Activate Composition</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6608</link>
		<description>Is there a way to set the focus on a certain composition?</description>
		<pubDate>Fri, 10 Dec 2010 17:07:30 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6608</guid>
	</item>
	<item>
		<title>Adding Aeplugin To Timeline Through Eyeonscript</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6604</link>
		<description><![CDATA[Hi Guys,<br />
<br />
Still an idiot at scripting, but progression has been made <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /><br />
<br />
I am now trying to add a tool that is an aeplugin through an eyeonscript, but it fails me.<br />
<br />
My code looks like smt this:<br />
<br />
sAutoPaint = aeplugin.S_AutoPaint({Input = someNode.Output, Input1 = 1, etc})<br />
<br />
I got the name aeplugin.S_Auto_Paint from looking at the bottom of the interface, but when using it in the script, it doesn't recognize it. <br />
<br />
Thanks in advance<br />
<br />
Christian]]></description>
		<pubDate>Fri, 03 Dec 2010 22:37:59 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6604</guid>
	</item>
	<item>
		<title>Creating A Frame Counter Through Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6597</link>
		<description><![CDATA[Hi, quite new at scripting, but I am trying to create a frame counter in my slate.<br />
<br />
If i just put in <br />
myCounter = TextPlus({StyledText = composition:GetAttrs().COMPN_CurrentTime ......})<br />
It just put in frame 0 at first frame, and then doesn't update anymore (Which I guess makes sense), but how do I make it dynamic?<br />
<br />
Thanks in advance<br />
<br />
Chr]]></description>
		<pubDate>Thu, 25 Nov 2010 23:44:13 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6597</guid>
	</item>
	<item>
		<title>External Lua Library In Fuses</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6593</link>
		<description><![CDATA[Hey<br />
<br />
Has someone succesfully managed to use an external library within a fuse ?<br />
Is that possible ?<br />
<br />
(I put the lib under Scripts and renamed it to .scriptlib and I created a folder named Lua and placed the .lua files in there)<br />
<br />
Then I import them like this lib = lib or {}<br />
But I cannot access any of the functions in there, like x = lib.function(x) or as a method X = X:function()....<br />
<br />
<br />
Cheers<br />
<br />
Johannes]]></description>
		<pubDate>Tue, 23 Nov 2010 16:05:03 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6593</guid>
	</item>
	<item>
		<title>3D-Coat Applink For Fusion</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6586</link>
		<description><![CDATA[Hi guys and gals! <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/cool.gif' class='bbc_emoticon' alt='B)' /> I am working on new script for Fusion, utilizing AppLink functionality available in 3D-Coat since version 3.5. Last week i have released Luxology modo version of AppLink script - info and download available here: <a href='http://www.3d-coat.com/forum/index.php?showtopic=6945' class='bbc_url' title='' rel='nofollow'>http://www.3d-coat.com/forum/index.php?showtopic=6945</a><br />
Video: <iframe src="http://player.vimeo.com/video/16625375" width="400" height="250" frameborder="0"></iframe><br />
Download: <a href='http://www.multiupload.com/8T27YUMBBP' class='bbc_url' title='' rel='nofollow'>http://www.multiupload.com/8T27YUMBBP</a><br />
<br />
In short, it should be simple UI with 2 buttons and drop-down list, you should be able to output 3D geometry from fusion to 3D-Coat, edit UV's and paint textures (normals, displacement, specular and diffuse), then bring it back to fusion's 3D environment. UI is very simple as i said (and as you can see in the video of modo version): import and export buttons + drop-down list to get user's input of export type (so 3D-Coat would know what you want to do with imported file), like UV, Per-Pixel painting etc.<br />
<br />
My problem is that i am not very advanced fusion user in general and never scripted anything for fusion (even though it should change now, new fusion's 3D/shaders/rendering abilities looks simply fantastic and it's the main reason we have decided to make AppLink for fusion before Nuke version, Nuke can't do some of the things on 3D/shaders side that fusion can do). It's very hard to find any python scripting for fusion info, i can't find even one working example of python script for fusion with GUI ! So i'd ask my questions here with hope to get answers from you guys  <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /> <br />
<br />
1) GUI - what should i use? Can i use AskUser to create GUI with 2 buttons and drop-down list which will pass user input to the script? Is there some nice example of GUI made using AskUser? Or should i use something like Tkinter, PyQt or WxPython? <br />
<br />
2) I am frustrated a bit with Python versions and Peyeon... I want to use Python 2.6 x86, not 3.1 x64, so i should use PeyeonScript-6.1.win32-py2.6, correct? But the question is - can i trigger python script from fusion to be executed in external Python 2.6 interpreter and not in internal (or external) Python 3.1 interpreter? If so, how can i do it, can someone please show me example of such a script, which will be executed in 2.6 interpreter when triggered from inside fusion?<br />
<br />
Thanks in advance, i'd probably have some more question in the future. Hope that AppLink would be quite useful for fusion users, especially considering new Fusion 6.1 features (3D, shaders, Hardware render).<div id='attach_wrap' class='clearfix'>
	<h4>Attached Files</h4>
	<ul>
		
			<li class='attachment'>
				<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=1945" title="Download attachment"><img src="http://www.pigsfly.com/forums/public/style_extra/mime_types/zip.gif" alt="Attached File" /></a>
&nbsp;<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=1945" title="Download attachment"><strong>3dc_modo_applink_1-00_b7.zip</strong></a> &nbsp;&nbsp;<span class='desc'><strong>35.73K</strong></span>
&nbsp;&nbsp;<span class="desc lighter">1 downloads</span>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Wed, 17 Nov 2010 20:33:13 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6586</guid>
	</item>
	<item>
		<title>Convolution In Fuses</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6579</link>
		<description><![CDATA[There's no Fuse method to convolve an image, right? I'd like to do some dilation/erosion/filtering but doing it myself via MultiProcessPixels is gonna be slow I suppose... <br />
<br />
Stefan]]></description>
		<pubDate>Fri, 12 Nov 2010 12:38:47 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6579</guid>
	</item>
	<item>
		<title>Matrix4 Method Syntax And Usage</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6578</link>
		<description><![CDATA[Hello <br />
<br />
I am trying to manipulate a matrix written in the metadata.<br />
<br />
Sofar I can access the values via:<br />
<br />
local r11 = result.Metadata.worldToCamera[1]<br />
<br />
Then I thought why not using the Matrix4 function to perform operations?<br />
<br />
create an empty Matrix4 <br />
copy the data in there, <br />
use matrix operations <br />
and create a new matrix in the metadata, to make it readable.<br />
<br />
I thought the Matrix4 Object works like this<br />
<br />
local mt = Matrix4{}<br />
<br />
then by <br />
<br />
mt[1] = r11<br />
<br />
I can copy my data in there (that might work dont know how to chekc that)<br />
<br />
then I thought<br />
<br />
mt:Inverse()<br />
<br />
should do the trick to give me the inverted matrix<br />
<br />
finally I am writting that out in the EXR Header...<br />
<br />
newmetadata[m_md] = mt<br />
<br />
but I get this error:<br />
Unsupported type for custom data!<br />
Any ideas how to convert that back in the end ?<br />
<br />
When I create a matrix the "normal" way<br />
<br />
local mt = {}          <br />
    for i=1,4 do<br />
        for j=1,4 do<br />
        mt[(i-1)*4 + j] = 0<br />
      end<br />
<br />
I can copy data in there, write it in the exr header, but not perform any Matrix4 operation....<br />
so maybe someone has a clue how to overcome that.<br />
I even tried using the matrix.lua library from luaforge.... but that caused other problems and other errors...<br />
<br />
<br />
Cheers<br />
Johannes]]></description>
		<pubDate>Fri, 12 Nov 2010 12:30:28 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6578</guid>
	</item>
	<item>
		<title>Need Help In Scripting..</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6573</link>
		<description><![CDATA[Hi All,<br />
<br />
I was recently trying to make a script which will help me to switch through the settings(S1, S2,.. till S6) of all tools present in the comp. I have made the script, and using that(with help of a dropdown optionbox) I can switch settings of the whole comp.<br />
<br />
now I want to hide that settings button from all the tools present in the comp, as its hidden in Loaders. So that, nobody can manually change any individual tool's settings. can we do it? I'm not a pro in scripting, plz guide me on this matter.<br />
<br />
thanks,<br />
<br />
Shamik Mukherjee]]></description>
		<pubDate>Wed, 10 Nov 2010 19:27:22 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6573</guid>
	</item>
	<item>
		<title>Vector2, Vector3F Method Syntax</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6565</link>
		<description><![CDATA[Anyone knows the syntax for Vector2 or Vector3f.<br />
<br />
In fusion 5.3<br />
a = Vector2/3f (1,2,3)<br />
<br />
a.Distance() -- fusion crashes<br />
a.Length() -- fusion crashes<br />
a.Normalize() -- fusion crashes<br />
<br />
Is there any way to get Distance between 2 vector2/3(as 2/3d coord), length, or normalized Vector ?<br />
<br />
Thanks]]></description>
		<pubDate>Thu, 04 Nov 2010 15:15:36 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6565</guid>
	</item>
	<item>
		<title>Fuse Particle Creation In Particle Operator Not Emitter</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6559</link>
		<description><![CDATA[Hi,<br />
<br />
I am using Fusion 5.31.78 so fuse particle are enabled.<br />
<br />
My goal is to add extra particle in empty screen space (between original particles created by an emitter).<br />
<br />
I followed the few sample code i was able to find : "Particle Emitter Test.fuse" "pFromFile-obj.Fuse", and i succeed in creating extra particle in an operator, but...<br />
they are not modified by the next operators (a turbulence in my test), and they do not seem to be really added to the particle entity.<br />
Do you have any clue here, or a sample piece of code ?<br />
<br />
Maybe some of you know how the particlegroup works and can give me some tips. let's say how to unify them in one piece ? to simplify the access to the particle (i am using part:GetGroup(j):GetParticle(i))?<br />
What Particles(req.SourceImage,self.iD) is referring to ?<br />
Can i use something else that 'self.ID'?<br />
<br />
Isn't it a better idea to merge the emitter and the modifier(which add extra particles) to resolve that ?<br />
<br />
Any help would be greatly appreciated.<br />
<br />
thanks,<br />
Xavier]]></description>
		<pubDate>Wed, 03 Nov 2010 08:56:30 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6559</guid>
	</item>
	<item>
		<title>Scripting-Bug When Animating Inputs?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6556</link>
		<description><![CDATA[Hi,<br />
<br />
having done a bit of Fusion scripting until now, I feel a bit stupid about this... but I can't find out how to animate inputs properly. If I create, for example, a transform tool....<br />
<br />
"Transform1.Center = XYPath({})" works as expected. But if I don't call ".Center" directly, but store the input reference in another variable, this doesn't work anymore. For example, save this as a tool script and run it on a transform tool. It should animate the "Center" coordinates with an XYPath:<br />
<br />
<pre class='prettyprint'>
controls = {}
inps = tool:GetInputList()
&#160; &#160;for i, inp in inps do
&#160; &#160; &#160; if inp:GetAttrs().INPS_DataType == "Point" then
&#160;&#160;&#160;&#160; &#160; &#160; table.insert(controls, inp)
&#160; end
end

-- doesn't work:
controls&#91;1&#93;&#91;TIME_UNDEFINED&#93; = XYPath({})
</pre>
<br />
<br />
The input isn't animated. The code above, however, is based on the Import Boujou Track example script, &#160;which means the script shouldn't work! I can't test it because I lack a boujou file, but can anybody get this to work?<br />
<br />
By the way, the "Animate 3D Parameters" tool script is using a different technique to animate an input that works. If you add this line to the script above:<br />
<br />
<pre class='prettyprint'>
controls&#91;1&#93;:ConnectTo(XYPath())
</pre>
<br />
the input gets animated as expected.<br />
<br />
I'm about to submit this to bugs@ but I'd like to know if somebody can confirm this bug. I'm running Fusion 6.1 build 697.]]></description>
		<pubDate>Sun, 31 Oct 2010 19:46:19 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6556</guid>
	</item>
	<item>
		<title>Opencl Fuses?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6540</link>
		<description><![CDATA[Has anyone succeeded in making an OpenCL fuse?  Care to share experiences?  I got my first done today, and it was...  a very large chunk of my day.  <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' />  I'm only seeing about a 85x speedup, but it's encouraging that it runs at all.  <br />
<br />
- Chad]]></description>
		<pubDate>Tue, 26 Oct 2010 23:32:42 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6540</guid>
	</item>
	<item>
		<title>Fusion Python And Tkinter</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6533</link>
		<description><![CDATA[Hello guys!<br />
Please, can some body give me example of python script with GUI (on tkInter, not Qt), with just one button, that add any node("Bg" for exmple) to current fusion composition?.<br />
<br />
i have tried.. but no success  <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/mf_Flush.gif' class='bbc_emoticon' alt=':i' /> <br />
<br />
where i need to place my scripts with GUI ? i tried "Fusion 6.1&#092;Scripts&#092;Comp&#092;" <br />
but in this case i have error message:<pre class='prettyprint'>
Traceback (most recent call last):
  File "&lt;string&gt;", line 1, in &lt;module&gt;
  File "C:/Program Files/eyeon/Fusion 6.1/Scripts/Comp/hello_world.py", line 12, in &lt;module&gt;
    root = tkinter.Tk()
  File "C:&#092;Python31&#092;Lib&#092;tkinter&#092;__init__.py", line 1627, in __init__
    baseName = os.path.basename(sys.argv&#91;0&#93;)
AttributeError: 'module' object has no attribute 'argv'</pre>
<br />
thank you.<br />
<br />
<br />
---------------<br />
i bind Python 3.1.2, as Blazej shows on this tutor :<br />
<a href='http://www.youtube.com/user/eyeonsoftware#p/u/13/oS4Z39oND04' class='bbc_url' title='' rel='nofollow'>http://www.youtube.com/user/eyeonsoftware#p/u/13/oS4Z39oND04</a>]]></description>
		<pubDate>Sun, 24 Oct 2010 14:39:59 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6533</guid>
	</item>
	<item>
		<title>Fuse Memory Management</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6521</link>
		<description><![CDATA[For the Fuse I'm currently writing, I've taken a lot of inspiration from eyeon's example fuses. However, I'm still unclear as to how memory management should be handled. Do I have to set all temporary images I have created in the Process() function to nil at the end? When do I call collectgarbage()?<br />
<br />
The Frame Average Fuse has this piece of code in case nothing is to be done to the input image:<br />
<br />
<pre class='prettyprint'>
local img = InImage:GetValue(req)
OutImage:Set(req, img)
img = nil</pre>
<br />
It differs from the Null Fuse, which doesn't set img to nil but instead has img:Use() in it:<br />
<br />
 <pre class='prettyprint'>
local img = InImage:GetValue(req)
img:Use()
OutImage:Set(req, img)</pre>
<br />
<br />
cheers<br />
<br />
Stefan]]></description>
		<pubDate>Sun, 17 Oct 2010 08:52:12 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6521</guid>
	</item>
	<item>
		<title>Psd Import</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6500</link>
		<description><![CDATA[...Ops.. i'm sorry double post.<br />
<br />
if you can, Mod or Admin, canc my thread here, Please.]]></description>
		<pubDate>Sat, 02 Oct 2010 04:22:45 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6500</guid>
	</item>
	<item>
		<title>Edl Import</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6480</link>
		<description><![CDATA[Hi,<br />
I'm a new user. I tried to make a post yesterday, but it didn't make it?!?<br />
<br />
I'm tying to import an EDL into fusion. I've tried different formats from both Premiere Pro CS5, and Generation(!). The EDLs don't import properly. With research, I've found that fusion only supports DPS EDLs. I've tried, without success, to find a sample DPS EDL...<br />
<br />
So, I'm writing an eyeonscript to import EDLs. Parsing the .edl is easy, but I'm having trouble applying the attributes to a loader.<br />
I'd like to either create a loader AND set its attributes, or create a loader and then set its attributes. Basically, I want to "paste settings" on the loader I've created.<br />
<br />
I do not have very much experience with LUA or eyeonscript.<br />
<br />
Why doesn't this work:<br />
<pre class='prettyprint'>
composition:Lock()
LDR = Loader({Clip = location})
LDR:SetAttrs({TOOLNT_Clip_Start = "69"})&#092;
composition:Unlock()</pre>
<br />
If this is a common question, or there's a readily available answer in the forum, sorry. Please point me in the right direction.<br />
Thanks.]]></description>
		<pubDate>Wed, 22 Sep 2010 20:03:23 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6480</guid>
	</item>
	<item>
		<title>Edl Import</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6478</link>
		<description><![CDATA[Hi,<br />
Fusion's EDL Import feature isn't working correctly with any of the EDLs I've tried (from Generation(!) and Premiere CS5). Examining the documentation, I've found that only DPS EDLs are supported (I've also spent a long time trying to find a DPS EDL for reference...no luck).<br />
So I'm writing a script to parse a Premiere Pro EDL and create loaders and dissolves.<br />
<br />
How can I create a loader and set attributes in one step? Specifically, how can I create a loader and set length, trim in, trim out, global in , and global out?<br />
<br />
I tried to create a loader from a clip and then SetAttrs on the loader. Like:<br />
<br />
<pre class='prettyprint'>LDR = Loader({Clip = MyCLip})
LDR:SetAttrs({TOOLIT_Clip_TrimIn = "69"})</pre>
<br />
This doesn't work. I want to basically "paste settings" on a tool.<br />
Any advice would be appreciated. If this is a common topic or there's an obvious answer already posted, just point me in the right direction!]]></description>
		<pubDate>Tue, 21 Sep 2010 16:40:25 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6478</guid>
	</item>
	<item>
		<title>Render End Script After Network Rendering Finished</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6460</link>
		<description><![CDATA[Hi guys,<br />
<br />
Pretty simple and straight forward task.<br />
When we leave the office in the evening, we set the farm to render the comps. In the morning, we have to convert all the frames into AVI's in order to use it in the edit suite. <br />
This is obviously an unnecessary step because we have clever LUA (or Python) who could take care of this automatically.<br />
<br />
And we don't want to apply the script manually to all the comps in the rendermanager via "end render script". It should automatically convert ALL comps rendered on the farm.<br />
<br />
There must be a script out there for this. If not.... I'll give it a go....<br />
Can someone point me in the right direction or at least make me aware of any traps when dealing with the render manager via scripting? Never did that before.<br />
I.E.: how to apply a standard "render end script" on the network via script?<br />
<br />
Thanks a lot!<br />
Uli]]></description>
		<pubDate>Thu, 09 Sep 2010 23:39:45 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6460</guid>
	</item>
	<item>
		<title>Most Proper Way Of Getting Python Scripts Hooked Up To Hotkeys?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6452</link>
		<description><![CDATA[What would be the best/Most proper way of getting python scripts hooked up to Hotkeys?<br />
Except for Eyeon making it possible in the hotkey thingy from start <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/wink.gif' class='bbc_emoticon' alt=';)' /><br />
/d]]></description>
		<pubDate>Sun, 05 Sep 2010 12:30:36 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6452</guid>
	</item>
	<item>
		<title>Fuse Quastions</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6446</link>
		<description><![CDATA[i try to teaching the fuses.. <br />
a`m looking in to blur.fuse, and find this:<br />
<pre class='prettyprint'>function Process(req) 
	local img = InImage:GetValue(req)
	local blur_x = InBlurX:GetValue(req).Value / 720
	local locked = (InLockXY:GetValue(req).Value &gt; 0.5)
	
	if locked == true then 
		blur_y = blur_x
	else
		blur_y = InBlurY:GetValue(req).Value / 720
	end</pre>
<br />
why we did division by 720 ?<br />
<br />
thanx.<br />
<br />
Upd:<br />
on VFXpedia page there is little bit another example:<br />
<pre class='prettyprint'>img:Blur(result, {
		BLUR_Type = "Gaussian", 
		BLUR_Red = 1,
		BLUR_Green = 1,
		BLUR_Blue = 1,
		BLUR_XSize = blur_strength/img.Width, 
		BLUR_YSize = blur_strength/img.Width,
		})
</pre>
so, i can imagine that blur fuse, which built in Fusion distributive - suppose that input image width = 720 ?]]></description>
		<pubDate>Fri, 03 Sep 2010 10:54:47 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6446</guid>
	</item>
	<item>
		<title>Image Name Of Current Frame</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6441</link>
		<description><![CDATA[This script could be buggy and it misses Looping, TrimOut, HoldLast Frame, Reverse, Clip Lists and Proxies but for the other attributes it should work (GlobalIn, TrimIn, HoldFirst ...)<br />
I've written it step by step and commented so you can play around with the source.<br />
It will output the frame and image name of "Loader1" in this case. You can adapt it to go through all loaders or the selected as you wish.<br />
<br />
If there is a convenient way of doing this it should be here one day:<br />
<a href='http://vfxpedia.com/index.php?title=Eyeon:Script/Reference/Applications/Fusion/Classes/Loader' class='bbc_url' title='' rel='nofollow'>http://vfxpedia.com/index.php?title=Eyeon:Script/Reference/Applications/Fusion/Classes/Loader</a> <br />
<br />
<br />
BTW to the admins: Please allow py uploads on this board <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/wink.gif' class='bbc_emoticon' alt=';)' /><div id='attach_wrap' class='clearfix'>
	<h4>Attached Files</h4>
	<ul>
		
			<li class='attachment'>
				<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=1848" title="Download attachment"><img src="http://www.pigsfly.com/forums/public/style_extra/mime_types/zip.gif" alt="Attached File" /></a>
&nbsp;<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=1848" title="Download attachment"><strong>loader_frame_info.zip</strong></a> &nbsp;&nbsp;<span class='desc'><strong>1.2K</strong></span>
&nbsp;&nbsp;<span class="desc lighter">24 downloads</span>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Thu, 02 Sep 2010 07:52:08 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6441</guid>
	</item>
	<item>
		<title>Fuse Loader?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6437</link>
		<description><![CDATA[Here's a crazy idea....  can a fuse be a loader?<br />
<br />
It's a shot in the dark as there doesn't seem to be any relevant classes on vfxpedia<br />
<br />
<a href='http://vfxpedia.com/index.php?title=Eyeon:Script/Reference/Applications/Fuse/Classes' class='bbc_url' title='' rel='nofollow'>http://vfxpedia.com/index.php?title=Eyeon:Script/Reference/Applications/Fuse/Classes</a>]]></description>
		<pubDate>Mon, 30 Aug 2010 15:22:29 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6437</guid>
	</item>
	<item>
		<title>Fontmanager</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6436</link>
		<description><![CDATA[Hi,<br />
<br />
The annotate fuse gives me an error<br />
<br />
<pre class='prettyprint'>Annotate.Fuse:249: attempt to index global 'FontManager' (a function value)</pre>
<br />
there's no info on font manager on vfxpedia<br />
<br />
<a href='http://vfxpedia.com/index.php?title=Eyeon:Script/Reference/Applications/Fuse/Classes/FontManager' class='bbc_url' title='' rel='nofollow'>http://vfxpedia.com/index.php?title=Eyeon:Script/Reference/Applications/Fuse/Classes/FontManager</a>]]></description>
		<pubDate>Mon, 30 Aug 2010 15:17:41 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6436</guid>
	</item>
	<item>
		<title>Python Noob!</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6435</link>
		<description>ignore/delete</description>
		<pubDate>Mon, 30 Aug 2010 13:28:08 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6435</guid>
	</item>
	<item>
		<title>Multiple Lines In Console</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6434</link>
		<description><![CDATA[<img src='http://www.pigsfly.com/forums/public/style_emoticons/default/blush.gif' class='bbc_emoticon' alt=':blush:' /> <br />
Guys, how can i enter this through fusion Python console?<br />
<pre class='prettyprint'>for x in range(1,10) :
	for f in range (1,4):print("test")</pre>
<br />
<a href='http://my.jetscreenshot.com/3685/20100830-jksu-19kb' class='bbc_url' title='' rel='nofollow'>http://my.jetscreenshot.com/3685/20100830-jksu-19kb</a>]]></description>
		<pubDate>Mon, 30 Aug 2010 11:58:57 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6434</guid>
	</item>
	<item>
		<title>Pastesettings</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6420</link>
		<description><![CDATA[Once more, I try to find a way to duplicate something that can be done by hand in a comp by script.<br />
I know there is CopySettings and I can use Paste to duplicate tools, or use SaveSettings to a file and then load them onto a tool but how can I recreate "Paste Settings" without some file created?<br />
Do I have to feed the Clipboard content into a GetInputList from the target tool or is there some way to use Paste to work with a tool?<br />
<br />
While I'm on that topic, I have a .setting file that I apply to script created Savers with LoadSettings and while it sets the Output Format (OpenEXR) and Process Mode correctly, the Format settings (Compression etc.) don't get applied. When the Savers are already there and I run the script again to apply the Settings from the file again, everything is fine.<br />
Is that normal behaviour and I should use wait(1) and then apply the settings again?<br />
<br />
&lt;edit&gt;<br />
Ok, found a working combo that sets the Clip AND the right settings:<br />
<pre class='prettyprint'>R_Saver = comp:AddTool("Saver",RM+2,yM+3)
R_Saver.Clip = RFN
R_Saver:LoadSettings(CBPath.."_Saver.setting")
R_Saver:SetAttrs({TOOLS_Name = "R_Saver", TOOLB_NameSet = true})
R_Saver.Clip = RFN</pre>
<br />
&lt;edit2&gt;<br />
For now, I'm using SaveSettings to a temp file and load it on my new camera. I don't want to keep the transformation though (imported fbx) <pre class='prettyprint'>camera_L.Transform3DOp.Translate.X = 0</pre>
doesn't work and before I try to delete the Transform entries in the temp file by script, is there any way to Remove the linked animation or set the Tranlation Group to default? Once again, things the context menu can do just fine but if I wanted to do things manually, I wouldn't script them.<br />
<br />
&lt;edit3&gt;<br />
Ok, I don't know why it didn't work before (I tried nil and 0) but<br />
<pre class='prettyprint'>LCam.Transformation.Translate.X = nil
LCam.Transformation.Translate.X = 0</pre>
works to cut the connection and then setting it to zero.]]></description>
		<pubDate>Fri, 20 Aug 2010 10:03:50 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6420</guid>
	</item>
	<item>
		<title>Fuse Performance Question</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6407</link>
		<description><![CDATA[Hey <br />
<br />
I am trying to do something like a soft clip in Fusion that all values above a certain threshold become "log"ed (the log function)... that all works well.. then my teammate said why not put it into a fuse? So I tried to copy that function in a fuse, but the fuse is much slower :-(<br />
I guess it is the way I wrote it and thought maybe you guys have some improvement ideas (regarding the fuse). Here is what I did in the custom tool<br />
 if(r1&gt;n2, log(r1)*n1+1, r1) (for each channel respectivly) -it still has the downside if the threshold is smaller then 1.0 that the log function produces negative values... but we just want to lower all values above 1.0 so that doesnt matter for the moment.<br />
<br />
I just guess as fuses are "scriptable" nodes there are doomed to be slower compared to the c++ code from the custom tool... but maybe you have some ideas on that... maybe opencl would be a way...<br />
<br />
Cheers<br />
<br />
johannes<div id='attach_wrap' class='clearfix'>
	<h4>Attached Files</h4>
	<ul>
		
			<li class='attachment'>
				<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=1811" title="Download attachment"><img src="http://www.pigsfly.com/forums/public/style_extra/mime_types/txt.gif" alt="Attached File" /></a>
&nbsp;<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=1811" title="Download attachment"><strong>Soft_Clip_JH_copy.txt</strong></a> &nbsp;&nbsp;<span class='desc'><strong>2.92K</strong></span>
&nbsp;&nbsp;<span class="desc lighter">3 downloads</span>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Thu, 12 Aug 2010 10:18:11 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6407</guid>
	</item>
	<item>
		<title>Fuse With Dynamic Inputs</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6396</link>
		<description><![CDATA[Hi<br />
<br />
Is it possible to create a Fuse with a dynamic amount of inputs like a merge3D?<br />
<br />
John]]></description>
		<pubDate>Fri, 06 Aug 2010 10:43:26 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6396</guid>
	</item>
	<item>
		<title>Fusion Lua Events Converted To Python</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6384</link>
		<description><![CDATA[Since it is very difficult to find information about python scripting in fusion, I'm dropping some questions, hoping for some answers:<br />
<br />
1)  How can I use the event handlers in Python scripts. It is possible to, i.e., convert this script to python:<br />
<p class='bbc_indent' style='margin-left: 40px;'><br />
<pre class='prettyprint'>
while composition == nil do
 
end
 
globals.ev = AddEventSuite("Composition")
 
function ev:OnStartRender(event)
 
        local toollist=comp:GetToolList(false, "Saver")
 
	for i, tool in toollist do
 
		if tool.Input:GetConnectedOutput() then
			self:Default(event)
		else
			-- report the problem
			msg = "The saver named ".. tool:GetAttrs().TOOLS_Name .. " is not connected to any other tools.&#092;n&#092;n"
			msg = msg.."Select OK to continue anyway, or Cancel to exit."
			
			ret = comp:AskUser("Warning: Orphan Savers!", {
				{"Warning", Name = "Warning", "Text", ReadOnly = true, Lines = 5, Wrap = true, Default = msg},
				})
			
			if ret then
				self:Default(event)
			end
		end
        end
end
</pre></p>
<br />
2)  Can the python script be saved as .py in stead of .scriptlib ??<br />
3)  Is there more documentation about python in fusion besides the single example on VfxPedia?<br />
4)  Is it possible to call a Python script from within a LUA eyeonscript?]]></description>
		<pubDate>Sun, 01 Aug 2010 00:45:33 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6384</guid>
	</item>
	<item>
		<title>A Very Basic But Small Loader Renaming Script For Stereo Footage</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6366</link>
		<description><![CDATA[I'm just learning this stuff and this is probably already existing somewhere more or less (though a search here for "rename loaders" scored meager results), I wanted to post this script for more experienced scripters to glance at and hit me with a rolled up newspaper for any redundancies/inefficies/risks/omittances. Maybe someone could even get some use out of this or modify it for their own uses.<br />
It's not doing anything great but I plan to have other scripts referring to loaders by these names, that should clean up all other tools by a lot and make them very readable and scene independent.<br />
<br />
<pre class='prettyprint'>--Rename Loaders for stereo footage by Simon Isenberg

loaderlist = eyeon.GetLoaders(composition)
 
for i, tool in loaderlist do
    if tool:GetAttrs()&#91;"TOOLST_Clip_Name"&#93; then
        for j = 1, table.getn(tool:GetAttrs()&#91;"TOOLST_Clip_Name"&#93;) do
			local eyestart,eyeend = string.find(tool:GetAttrs()&#91;"TOOLST_Clip_Name"&#93;&#91;j&#93;, "_L_")
			if not eyestart then eyestart,eyeend = string.find(tool:GetAttrs()&#91;"TOOLST_Clip_Name"&#93;&#91;j&#93;, "_R_") end
			if eyestart then
				local truncname = string.sub( tool:GetAttrs()&#91;"TOOLST_Clip_Name"&#93;&#91;j&#93;,eyestart+1,string.len(tool:GetAttrs()&#91;"TOOLST_Clip_Name"&#93;&#91;j&#93;)-9 )
				print("Loaded Clip: "..tool:GetAttrs()&#91;"TOOLST_Clip_Name"&#93;&#91;j&#93;)
				print("Renamed Loader: "..truncname)
				tool:SetAttrs({TOOLS_Name = truncname, TOOLB_NameSet = true})
			else
				tool:SetAttrs({TOOLS_Name = "", TOOLB_NameSet = false})
				print("--&gt; Loader doesn't match criteria: "..tool:GetAttrs()&#91;"TOOLST_Clip_Name"&#93;&#91;j&#93;)
			end
        end
    end
end</pre>
<br />
Some thoughts/concerns I have about this so far:<br />
<br />
-Throwing away the last 9 characters of the ClipName only works as intended for _####.XYZ so it's a bit inflexible but since that's all the footage I expect, I happily dispensed with looking for file extension and number patterns, if needed they can easily be implemented anyway.<br />
<br />
-I couldn't get it to only look for _L_ and _R_, so it looks for any upper case letter inbetween two underscores. That could of course spell trouble if there is a version _G_ of a scene or somesuch. I tried to make my own char-set but[_L_]* looks for any underscores or L, not the exact construct. Is there a way to only look for exactly _L_ or _R_ I'm not aware of?<br />
I could make it two lines, look for _L_ in the first and a second line "if not eyestart" that looks for _R_, which works but is hardly elegant and just seems redundant.<br />
<br />
-It resets Loadernames that lose their correctly named stereo footage but only when the user runs the script. Any thoughts about having it run on an event like OnActivateTool? Not all comps might be for stereo and there isn't really a reason to run it for every tool that get's selected.I could check and break if the activated tool is not a loader but since it fires at the start of someone manipulating a loader instead of after the manipulation is done, it kind of defeats the purpose. Maybe I'm jsut too caught up in efficiency and with today's computing power, nobody cares for scripts running every frame/every tool activation. For now, I'm trusting our compositing department (not even a handful including me at the moment) to use the script consciously when they want to.<br />
<br />
-x,y = string.find... since I only need/want x, can I omit y somehow or send it to nirvana without taking up a variable?<br />
<br />
-I went back and forth between assigning truncname or just keeping the string.sub() in it's place. The latter makes the lines somewhat hard to read but again, saves some resources, especially if you kill the print feedback. Anyone has something to say about the usage of variables vs methods?<br />
Personally, I don't even like the "attrs = GetAttrs()" people are using as it obfuscates what's going on (especially hidden brackets) and doesn't save that much typing. On that matter, anyone got around crafting an auto-complete set for eyeonscript yet?<br />
<br />
Disclaimer: Sorry for my long, capsulated and convoluted sentences, I think like this. It's a mystery to myself how I am even interested in writing short and neat code. I hope someone reads this wall of text anyway and has some thoughts about this, seeing how dead the scripting part of this forum is, I don't have high hopes but it already helped me writing my thoughts down and I can link to this when I discuss it with people.]]></description>
		<pubDate>Tue, 20 Jul 2010 15:40:47 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6366</guid>
	</item>
	<item>
		<title>How To Set Loader Trim Value Via Script?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6350</link>
		<description><![CDATA[Hello everybody,<br />
<br />
I try to set some Loader Values, and have problem with the Table Values<br />
I can set the Clip Name with:<br />
<br />
loader = Loader1<br />
loader.Clip = "test.mov"<br />
<br />
And I can set the Loader Name with:<br />
<br />
loader:SetAttrs({TOOLS_Name = "testLoader"})<br />
<br />
Now I try to set some table Values like TrimIn and Out<br />
<br />
But: loader:SetAttrs({TOOLIT_Clip_TrimIn = 5}) won´t work,<br />
and loader:SetAttrs({TOOLIT_Clip_TrimIn[1] = 5}) throw a syntay error.<br />
<br />
So my question is: How to set TableValues with eyeonScript??<br />
<br />
Thanks Friedrich]]></description>
		<pubDate>Mon, 12 Jul 2010 11:20:48 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6350</guid>
	</item>
	<item>
		<title>Fuses And Access To Fusion Classes</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6340</link>
		<description><![CDATA[Hey <br />
<br />
I was trying to access Fusion Classes from a fuse !?!?!<br />
Is that possible at all ?<br />
Or can fuses just process what ever can be transported on an image stream ?<br />
<br />
<br />
@ eyeon:  Is there a place where clearly is stated where which language with what abilities can access what inside fusion ???<br />
Where can I access fusion classes ?<br />
-scripts, expressions, fuses, just console...<br />
Can Fuses be written in Python now ???<br />
Stuff works in the console, then it is different in the framerender scripts, then normal scripts, fuses ?!?! and expressions....<br />
<br />
Cheers<br />
-nebu]]></description>
		<pubDate>Fri, 09 Jul 2010 09:19:13 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6340</guid>
	</item>
	<item>
		<title>About Nested Controls</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6338</link>
		<description><![CDATA[<a href='http://www.vfxpedia.com/index.php?title=Eyeon:Script/Reference/Applications/Fuse/Classes/ScriptOperator/BeginControlNest' class='bbc_url' title='' rel='nofollow'>http://www.vfxpedia.com/index.php?title=Eyeon:Script/Reference/Applications/Fuse/Classes/ScriptOperator/BeginControlNest</a><br />
<pre class='prettyprint'>
self:BeginControlNest(string controlname, string scriptname, boolean is_expanded, table taglist) 

*taglist (table, required)
    Optional taglist arguments that further affect the behavior of this control. Currently undocumented. Use an empty table for this argument. </pre>
<br />
Does anyone know anything about the undocumented attributes you can give to the Nest through the table?]]></description>
		<pubDate>Thu, 08 Jul 2010 09:43:05 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6338</guid>
	</item>
	<item>
		<title>Int Function With Expressions</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6329</link>
		<description><![CDATA[Hey <br />
<br />
I was wondering wether you could tell me how to use the int() function with expressions.<br />
cos, atan etc seem to be working just fine but the int() is not...<br />
or maybe there is a workaround?<br />
<br />
Cheers<br />
-nebukad<div id='attach_wrap' class='clearfix'>
	<h4>Attached Thumbnails</h4>
	<ul>
		
			<li class=''>
				<a class='resized_img' rel='lightbox[24897]' id='ipb-attach-url-1769-0-95256200-1337345149' href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=1769" title="int.jpg - Size: 102.71K, Downloads: 20"><img itemprop="image" src="http://www.pigsfly.com/forums/uploads/monthly_07_2010/post-15406-019977800 1278419064_thumb.jpg" id='ipb-attach-img-1769-0-95256200-1337345149' style='width:25;height:13' class='attach' width="25" height="13" alt="int.jpg" /></a>

			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Tue, 06 Jul 2010 12:24:33 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6329</guid>
	</item>
	<item>
		<title>Python: How To Use Askuser() Correctly</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6323</link>
		<description><![CDATA[Hi,<br />
<br />
I'm trying to convert some of our Inhouse Eyeonscripts to Python, now that Fusion 6.1 supports it and I wanted to learn it anyway <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /><br />
I'm having a problem with the AskUser() function.<br />
In eyeonscript, it expects to get an input dialog table like this: {"InputName", Name = "input please", "InputType", Options = options_var, Default = 0}<br />
I've read that python handles tables like this one (with "key" and "value" entries) as "dictionaries", but in this special case the values "InputName" and "InputType" don't need (or must not have) any key. Is there any solution for this in python dictionary objects? Is it that in python dictionary object every value needs a key? How can I create a valid input table for the AskUser function in python?<br />
<br />
Thanks and best regards, <br />
<br />
Dirk]]></description>
		<pubDate>Mon, 05 Jul 2010 11:07:52 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6323</guid>
	</item>
	<item>
		<title>How To Highlight Changed Parameter</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6312</link>
		<description><![CDATA[Hi fusioneers,<br />
In ColorCorrection node, I was wondering how to identify if any parameter in any of the tabs, have been modified.<br />
Like if a parameter, suppose reds, are modified but that too in the mids or shadows; is there a quick or better way to identify without actually clicking and opening each section or subsection. This task is very tedious specially when the comp has lots of CC nodes. <br />
<strong class='bbc'>Like there is a script online, which highlights any animated node, Is there a script to highlight or identify a change in default parameter of any given node?</strong><br />
<br />
<br />
many thanks ...]]></description>
		<pubDate>Wed, 30 Jun 2010 15:36:26 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6312</guid>
	</item>
	<item>
		<title>Sequences In Folder</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6295</link>
		<description><![CDATA[Hi,<br />
<br />
Not been doing much scripting lately so incredibly rusty <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' />  I know LUA can't list folder contents, at least without some 3rd party modules so  I'm asking what is the a good way of doing so?<br />
<br />
All I need is to search a folder for arbitrarily named sequences and create loaders for them.  I could write a Python script to do the listing but I thought I'd check if anyone has other ideas as I actually don't know Python.... yet! <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /><br />
<br />
If Python is the way, can I launch Python scripts from LUA in a similar way to using os.execute for DOS shell commands?<br />
<br />
And yes, I'm still on Fusion 5.21 with 6 coming too late for the current project :/<br />
<br />
Thanks<br />
<br />
John]]></description>
		<pubDate>Wed, 23 Jun 2010 09:34:36 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6295</guid>
	</item>
	<item>
		<title>Replace Saver / Event Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6288</link>
		<description><![CDATA[I know that I can use event script to add to save events.<br />
But would it be possible to replace the save operation?<br />
<br />
When is the event triggered, before, after or simultaneously to the default save trigger.<br />
<br />
Cheers,]]></description>
		<pubDate>Thu, 17 Jun 2010 11:10:43 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6288</guid>
	</item>
	<item>
		<title>Select Upstream?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6218</link>
		<description><![CDATA[Hi!<br />
<br />
Is there any way to easily find/select the tools upstream of the currently selected tool? I've googled and read through the scripting docs and VFXPedia, but haven't found anything that seems to apply or work -- I tried the FlowView:SelectUpstream(), but it's not documented and it doesn't seem to do anything (although it doesn't error either...).<br />
<br />
The following is my bash at it, but it's crushingly slow (probably because it has to do a GetAttrs() for every input of every tool that it finds). It also doesn't select mask inputs, but that could be fixed... I would be very grateful to know about any speedups or better code you might have to hand. We're working with very large comps (1600+ tools) so performance is important.<br />
<br />
    -- In the "upstream" function, I get the inputs of the currently<br />
    -- selected tool, then discover which are "Image" inputs. If it's an<br />
    -- image, I get the tool connected to it, then call upstream on<br />
    -- _that_. Eventually, all dependencies should have been visited and<br />
    -- recorded as {toolname = tool} pairs in the found table, which is<br />
    -- passed down the line as needed.<br />
    <br />
    function upstream(found, which)<br />
       local inputs = which:GetInputList()<br />
       for i = 1, table.getn(inputs) do<br />
          local input = inputs[i]<br />
          local a = inputs[i]:GetAttrs()<br />
          print(" - "..a.INPS_Name)<br />
          if "Image" == a.INPS_DataType then<br />
    	 local o = input:GetConnectedOutput()<br />
    	 if o then -- Might be nil if nothing connected.<br />
    	    local t = o:GetTool()<br />
    	    local ta = t:GetAttrs()<br />
    	    found[ta.TOOLS_Name] = t<br />
    <br />
    	    upstream(found, t)<br />
    	 end <br />
          end<br />
       end<br />
    <br />
       -- return found<br />
    end<br />
    <br />
    -- Start work here.<br />
    <br />
    composition:Lock() -- Lock the composition so user can't modify it.<br />
    <br />
    print("Printing found attributes as we go.")<br />
    <br />
    sources = {} -- Table of source tools.<br />
    upstream(sources, tool)<br />
    <br />
    -- Print a list of the tools I found.<br />
    print("Source tools found:")  dump(sources)<br />
    <br />
    -- Now I clear out the current selection and select the tools I found.<br />
    flow = composition.CurrentFrame.FlowView<br />
    flow:Select()<br />
    for k, v in sources do  flow:Select(v)  end<br />
    <br />
    composition:Unlock()]]></description>
		<pubDate>Wed, 12 May 2010 18:53:10 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6218</guid>
	</item>
	<item>
		<title>Problem Refresh Expression And Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6216</link>
		<description><![CDATA[hello,<br />
i am working on a stereo rig in fusion. I use expression and the frame render script.<br />
My rig works well, but when i make a render or a preview, the scripted element don't refresh on each frame, they keep the value where i launch the render.<br />
Someone have an idea on how correct this bug?<br />
I am working with fusion 5.3 build 55<br />
<br />
thanks]]></description>
		<pubDate>Wed, 12 May 2010 12:42:53 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6216</guid>
	</item>
	<item>
		<title>Scripting Resources</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6210</link>
		<description><![CDATA[Hello peeps,<br />
<br />
as far as passive knowledge goes I generally understand how scripts are built but I'm wondering what the best way to actively learn the syntax and structure is.<br />
I believe that to learn effectively from how other people's scripts I still need to study the basic operations.<br />
Is there a resource which explains the various logical operators and actions as well as the syntax and lexicon step by step?<br />
<br />
I have the impression that VFXpedia doesn't do this broadly enough. Am I right?<br />
<br />
<br />
thanks]]></description>
		<pubDate>Mon, 10 May 2010 15:11:56 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6210</guid>
	</item>
	<item>
		<title>Sticky Front Projection</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6205</link>
		<description><![CDATA[Well, whenever I have to project a single frame from a tracked sequence, I start by copying the tracked camera and deleting all the keyframes except for the one I want. Then I duplicate the loader and isolate the corresponding frame (trim in and out, set it to loop) or use a timestretcher with a fixed value instead. It's okay for one frame, but sometimes I end up projecting through several cameras to patch up different parts of the image. So I would like to do it in a more elegant and faster way.<br />
<br />
I tried to explain what I want to do in the screenshot attached (there is no real working flow yet.) I hope it makes sense?<div id='attach_wrap' class='clearfix'>
	<h4>Attached Thumbnails</h4>
	<ul>
		
			<li class=''>
				<a class='resized_img' rel='lightbox[24004]' id='ipb-attach-url-1725-0-00438200-1337345150' href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=1725" title="Screenshot.jpg - Size: 214.27K, Downloads: 41"><img itemprop="image" src="http://www.pigsfly.com/forums/uploads/monthly_05_2010/post-15066-1273271045851_thumb.jpg" id='ipb-attach-img-1725-0-00438200-1337345150' style='width:25;height:16' class='attach' width="25" height="16" alt="Screenshot.jpg" /></a>

			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Fri, 07 May 2010 22:09:13 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6205</guid>
	</item>
	<item>
		<title>How To Use Loadcomp</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6170</link>
		<description><![CDATA[Hi there:<br />
<br />
I am trying to load a comp using eyeonscript in Fusion, by choosing the script name from script menu. I getting no result. Here is what I am truing to do<br />
<br />
<br />
        fusion = Fusion(localhost)<br />
in_comp = "c:&#092;&#092;comp.comp"<br />
	newcomp = fusion.LoadComp( in_comp)<br />
	print (newcomp)<br />
<br />
<br />
newcomp returns nil ..?<br />
<br />
Thanks<br />
/biju]]></description>
		<pubDate>Wed, 21 Apr 2010 19:22:41 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6170</guid>
	</item>
	<item>
		<title>Eyeonscript Loading Comp</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6169</link>
		<description><![CDATA[Hi there:<br />
<br />
I am trying to load a comp using eyeonscript in Fusion, by choosing the script name from script menu. I getting no result. Here is what I am truing to do<br />
<br />
<br />
        fusion = Fusion(localhost)<br />
in_comp = "c:&#092;&#092;comp.comp"<br />
	newcomp = fusion.LoadComp( in_comp)<br />
	print (newcomp)<br />
<br />
<br />
newcomp returns nil ..?<br />
<br />
Thanks<br />
/biju]]></description>
		<pubDate>Wed, 21 Apr 2010 19:09:19 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6169</guid>
	</item>
	<item>
		<title>Eyeonscript Loading Comp</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6168</link>
		<description><![CDATA[Hi there:<br />
<br />
I am trying to load a comp using eyeonscript in Fusion, by choosing the script name from script menu. I getting no result. Here is what I am truing to do<br />
<br />
<br />
fusion = Fusion(localhost)<br />
<br />
	newcomp = fusion.LoadComp( backwardSlashes(in_comp))<br />
	print (newcomp)]]></description>
		<pubDate>Wed, 21 Apr 2010 19:08:04 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6168</guid>
	</item>
	<item>
		<title>Eyeonscript Loading Comp</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6167</link>
		<description><![CDATA[Hi there:<br />
<br />
I am trying to load a comp using eyeonscript in Fusion, by choosing the script name from script menu. I getting no result. Here is what I am truing to do<br />
<br />
<br />
fusion = Fusion(localhost)<br />
<br />
	newcomp = fusion.LoadComp( backwardSlashes(in_comp))<br />
	print (newcomp)]]></description>
		<pubDate>Wed, 21 Apr 2010 19:08:04 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6167</guid>
	</item>
	<item>
		<title>Eyeonscript Loading Comp</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6166</link>
		<description><![CDATA[Hi there:<br />
<br />
I am trying to load a comp using eyeonscript in Fusion, by choosing the script name from script menu. I getting no result. Here is what I am truing to do<br />
<br />
<br />
fusion = Fusion(localhost)<br />
<br />
	newcomp = fusion.LoadComp( backwardSlashes(in_comp))<br />
	print (newcomp)]]></description>
		<pubDate>Wed, 21 Apr 2010 19:08:04 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6166</guid>
	</item>
	<item>
		<title>Set Keysframes On Gridwarp</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6156</link>
		<description><![CDATA[Hi  <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /> <br />
Does anyone know how to set keyframes on GridWarp via script.<br />
For example I want to use 3x3 grid. I create GridWarp1 node in the flow, configure it to have 3x3 cells, then I type in<br />
<br />
GridWarp1.DstGridChange = BezierSpline<br />
GridWarp1.DstGridChange[comp.CurrentTime+1] = 1 --(I don't really know what value it has to have)<br />
GridWarp1.DstGridChange[comp.CurrentTime+2] = 2<br />
<br />
and I'll get 3 keyframes. <br />
<br />
But when I go through keyframes, they all have 8x8 grid in the viewer but show 3x3 frame in the GridWarp's GUI. <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/huh.gif' class='bbc_emoticon' alt=':huh:' />]]></description>
		<pubDate>Sun, 18 Apr 2010 16:21:02 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6156</guid>
	</item>
	<item>
		<title>Eyeonscript Help Monoflowtostereo</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6155</link>
		<description><![CDATA[Hey All,<br />
I need to take about 100 flows that are mono and do a simple Instance Node and replace loaders to create a Stereo Flow. It sounded simple enough... I can script in Python and have tried to tackle eyeonscript to get the basics. I can't get it working for me. So if there are any eyeonscript guru's that could give me some pointers or tips... <br />
I have tried to parse the .comp file and have found it to be a monster task with all of the inputs and outputs reconnecting with a "instance" flow. I know that Fusion 6.1 will come with Python support but I have no idea when that will come and I need to be finished in 3 months. So, any help would be much appreciated. Also if anyone has any other ideas maybe generations has some functionality I don't know about...<br />
<br />
br,<br />
david]]></description>
		<pubDate>Sun, 18 Apr 2010 07:18:14 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6155</guid>
	</item>
	<item>
		<title>Variable Type Casting</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6119</link>
		<description><![CDATA[Hi!<br />
<br />
I don't find, how can i cast a variable type to another type. Example a string to number. Thanks.<br />
<br />
Or i am a donkey. :-D]]></description>
		<pubDate>Fri, 02 Apr 2010 13:11:45 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6119</guid>
	</item>
	<item>
		<title>If Then - Inline Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6116</link>
		<description><![CDATA[hi,<br />
<br />
can i use "if ... then... " f.e. in the pCustom Tool ? and how?<br />
<br />
i want particles rotate by their pitch, but if the pitch value get positive or similar negative, i need to add "+180 (degree)", so i need "if then" i think. <br />
 i can define variables in pCustom tool , f.e. in the "setup"-tab?]]></description>
		<pubDate>Wed, 31 Mar 2010 16:13:41 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6116</guid>
	</item>
	<item>
		<title>Accessing The Comments Field?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6081</link>
		<description><![CDATA[Hi,<br />
<br />
in the console (of Fusion6), I can get a tool's comments with the line:<br />
<pre class='prettyprint'>print( MyTool.Comments&#91;TIME_UNDEFINED&#93;)</pre>
from what I get the text string of the comments field.<br />
<br />
I tried the same whithin "MyTool", writing in the FrameRenderScript field:<br />
<pre class='prettyprint'>print(Comments&#91;TIME_UNDEFINED&#93;)</pre>
which returns me: nil<br />
<br />
or <br />
<pre class='prettyprint'>print(Comments)</pre>
which returns me the connected node: Text &lt;026D6EF8&gt;<br />
<br />
How do I access the comments text string using a toolscript?]]></description>
		<pubDate>Mon, 15 Mar 2010 11:45:56 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6081</guid>
	</item>
	<item>
		<title>Text Tool Animation</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6064</link>
		<description><![CDATA[I want to shake randomly every single character in my text tool.<br />
I try everything I know - no result. <br />
<br />
help me pleeese]]></description>
		<pubDate>Thu, 04 Mar 2010 11:12:55 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6064</guid>
	</item>
	<item>
		<title>Addtool Problem</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=6051</link>
		<description><![CDATA[Hey <br />
<br />
I&#180;m currently fiddeling around with a script created custom tool. Everything works fine exept the correct placing.<br />
<br />
<pre class='prettyprint'>
&gt; TRIGGER = comp:AddTool("Custom", 1, 1)
&gt; = TRIGGER
Custom Tool (0x000000001D48B3D0) ...
</pre>
<br />
-&gt; everything is ok. I can adress the node like expected ... but it is spawned on 1,1 position<br />
<br />
<pre class='prettyprint'>
&gt; TRIGGER2 = comp:AddTool("Custom", -32768, -32768)
&gt; = TRIGGER2
nil
</pre>
<br />
-&gt; ok, now the node is created on the right spot (using the auto-positioning coordinates), but I can&#180;t adress it anymore.<br />
<br />
Am I missing something? Thanks in advance.]]></description>
		<pubDate>Thu, 25 Feb 2010 12:50:35 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=6051</guid>
	</item>
	<item>
		<title>Fusion Units Conversion</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5987</link>
		<description><![CDATA[Hi<br />
<br />
We try to create a script which need a relation between the 2d unit of a merge (from 0 to 1, which is a percentage of the picture) and the 3d unit.<br />
In fact we'll have to replace some picture by other one which are the same but cropped in a different size (and not in the center). SOme of these picture are on 3d layer. As it is more difficult to adjust the position on a 3d layer (to compare the 2 picture to make them fit perfectly), what we want to develop is to make a script that use the position value of a 2d merge (used to fit the 2 pictures) and then convert this values in the 3d view to the 3d position of the image plane.<br />
But as the 2d unit is a percentage and the 3d more an absolute value we have to make a conversion with a formula. The problem is that the 3d unit seems to change depending of the size of the source picture.<br />
Does someone know how to have a real value in the 3d view, how to do this conversion ? Or maybe something already exist ?<br />
<br />
I hope I was clear<br />
<br />
thanks]]></description>
		<pubDate>Tue, 19 Jan 2010 10:28:35 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5987</guid>
	</item>
	<item>
		<title>Create Loader</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5966</link>
		<description><![CDATA[Hi everyone  <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /> <br />
<br />
I want to create Loader which will not ask me to browse for files. How I could do this?]]></description>
		<pubDate>Wed, 30 Dec 2009 10:41:47 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5966</guid>
	</item>
	<item>
		<title><![CDATA[Poor Man's 3Dpoint]]></title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5963</link>
		<description><![CDATA[Hi forum,<br />
<br />
If you have a correctly tracked scene and you want to find the position of a particular pixel in 3D space you can use a feature in Nuke called 3DPoint. Don't think of it as a pixel per se, a more practical example would be a window's top right corner for instance.<br />
<br />
I'm not really a Nuke user and I have my own little way of getting the right coordinates, using a 3D application. What I do is, I create a long line that is parented to the camera, pivots around the cam's nodal point and aims towards a marker object that I use to visually select the pixel I'm after while looking through the tracked camera and with the footage viewed in the background.<br />
<br />
I go to the first frame of the sequence and move the marker in position and create a key, then I go to the last frame and again put it in position and create another key.<br />
<br />
I then clone that line two times (I only created two keys in the previous step,) go to frame one and remove this first clone from the rig, so that it's on it's own, no longer parented to the camera and no longer aiming automatically to the marker. But in doing so, I baked position and rotation so visually you shouldn't see a difference between the baked version and the original line that's still part of the rig.<br />
<br />
Then I do the same with the last keyframe, this time using the second clone.<br />
<br />
Finally I move a null / helper / locator along one of the baked lines until I've found the intersection of those two baked lines, and those (world) coordinates gives you the correct 3D position.<br />
<br />
Basically, projecting a line out from the camera, you know that the 3D feature lies somewhere along that line and by projecting through multiple images, I can find the 3D position of that feature.<br />
<br />
Now, I'm happy with this little trick but imagine doing this for a lot of points, and it's a huge timesaver to be able to do this in Fusion straightaway. Would it be possible to do this using a script? Maybe something like that already exists? Thanks in advance!]]></description>
		<pubDate>Sat, 26 Dec 2009 12:17:11 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5963</guid>
	</item>
	<item>
		<title>Somethingthatwontmatchhopefully</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5962</link>
		<description><![CDATA[there is a script, for loader node with OpenEXR input: <br />
------------------<br />
channelList = tool.Clip1.OpenEXRFormat.RedName:GetAttrs().INPIDT_ComboControl_ID<br />
print(channelList[1])<br />
------------------<br />
<br />
when i enter print(channelList[2]) i see "R"<br />
when i enter print(channelList[3]) i see "G"<br />
....<br />
but why <strong class='bbc'>channelList[1]</strong> i see "SomethingThatWontMatchHopefully"  ?  <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/blink.gif' class='bbc_emoticon' alt=':blink:' /> <br />
<br />
and where i can get info about tool.Clip.OpenEXRFormat attributes?<br />
<br />
thx!]]></description>
		<pubDate>Fri, 25 Dec 2009 14:31:32 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5962</guid>
	</item>
	<item>
		<title>How To Get The Resolution Of The Input Of A Macro?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5944</link>
		<description><![CDATA[Hi guys,<br />
Krokodove's Beams tool is very slow. So what I usually do to speed up things is this:<br />
I put a Rsz before the Beams to quarter the resolution. Then I apply the Beam and quadruple the resolution afterwards. Then I merge it back onto the original image.<br />
This speeds up the beams quite a lot.<br />
<br />
Now I want to put all this in a macro.<br />
Therefore I have to know the resolution of the macro's input.<br />
Because if the image I want to apply the beams to is 1024x576 the first Resizer should set itself to 256x144.<br />
But if it is 1920x1080 the Rsz should be 480x270.<br />
<br />
Any thoughts on that?<br />
<br />
Cheers<br />
Uli]]></description>
		<pubDate>Wed, 16 Dec 2009 11:22:09 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5944</guid>
	</item>
	<item>
		<title>Frame Render Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5942</link>
		<description><![CDATA[Hi,<br />
<br />
Can someone point me in the right direction. I have a comp that renders 7 different sized Quicktime files. I'd like to add a Frame Render Script to the 8th Saver that makes a proper sized thumbnail .jpg. I want the .jpg saver to save just one frame which I have chosen as the thumb, and not render the rest of the seq.<br />
<br />
I looked in the FU5 scripting manual, but didn't see any examples that I could cobble from...<br />
Thanks.<br />
<br />
-David]]></description>
		<pubDate>Wed, 16 Dec 2009 01:26:05 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5942</guid>
	</item>
	<item>
		<title>Frame Render Script Problem</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5931</link>
		<description><![CDATA[HI, I wanted to know how to Incorporate any exp&#8203;ression like os.date(%d.%m.%y) such in a text's frame render script.... ...really hard to figure that out!@<img src='http://www.pigsfly.com/forums/public/style_emoticons/default/sad.gif' class='bbc_emoticon' alt=':(' /> as its not working fr me.<br />
 <br />
<br />
{<br />
Tools = ordered() {<br />
Text1 = TextPlus {<br />
ExtentSet = false,<br />
CtrlWZoom = false,<br />
Inputs = {<br />
GlobalIn = Input {<br />
Value = 1,<br />
},<br />
Width = Input {<br />
Value = 2048,<br />
},<br />
Height = Input {<br />
Value = 1556,<br />
},<br />
LayoutType = Input {<br />
Value = 1,<br />
},<br />
Size = Input {<br />
Value = 0.027897,<br />
},<br />
Font = Input {<br />
Value = "Arial",<br />
},<br />
StyledText = Input {<br />
Value = "drdd",<br />
},<br />
Style = Input {<br />
Value = "Bold",<br />
},<br />
ManualFontKerningPlacement = Input {<br />
Value = StyledText {<br />
Array = {<br />
},<br />
Value = "",<br />
},<br />
},<br />
ShadingGradient1 = Input {<br />
Value = Gradient {<br />
Colors = {<br />
[0] = { 0, 0, 0, 1, },<br />
[1] = { 1, 1, 1, 1, },<br />
},<br />
},<br />
},<br />
RenderToDPTFile = Input {<br />
Disabled = true,<br />
},<br />
DPTType = Input {<br />
Disabled = true,<br />
},<br />
DPTResolution = Input {<br />
Disabled = true,<br />
},<br />
FrameRenderScript = Input {<br />
Value = "StyledText=&#092;"Today is&#092;" os.date(%y.%d%.%m)&#092;r&#092;n",<br />
},<br />
},<br />
ViewInfo = OperatorInfo {<br />
Pos = { 2310, 313.5, },<br />
},<br />
},<br />
},<br />
}]]></description>
		<pubDate>Thu, 10 Dec 2009 08:08:36 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5931</guid>
	</item>
	<item>
		<title>Macro From Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5915</link>
		<description><![CDATA[Hi,<br />
<br />
I've got a fuse problem so I'll need to use a macro instead.  I was wondering how to drop that macro into the flow using a script?  I got:<br />
<br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>You'll need a table containing the tools to be grouped. This can be done manually, by loading a .setting file, or by using the comp:CopySettings() function. Then, create the GroupOperator tables and plug the tools table into that</div></div>
<br />
from<br />
<br />
<a href='http://vfxpedia.com/index.php?title=Useful_Scripts' class='bbc_url' title='' rel='nofollow'>http://vfxpedia.com/index.php?title=Useful_Scripts</a><br />
<br />
I'm not sure I fully understand it but, is it possible to get the script to read the macro.settings file and 'copy' it into a table to be used by comp:Paste<br />
<br />
Any head start on this would be appreciated beacause I'm kinda scratching my head over this at the moment <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /><br />
<br />
Cheers<br />
<br />
John]]></description>
		<pubDate>Thu, 03 Dec 2009 10:08:31 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5915</guid>
	</item>
	<item>
		<title>Fuses And Crashing</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5914</link>
		<description><![CDATA[Hi,<br />
<br />
A vague question but...  Is there any reason having multiple fuses (the same one) in a comp would cause fusion to crash?<br />
<br />
My fuse takes in 5 or so image inputs (wirelessly) and does a bunch of compositing ops and outputs the result image?<br />
<br />
It's fine if you step through the flow but if you were to open the comp and view the last node in the flow Fusion bombs out.  This happens in FU5.21 and 5.3 but not in 6.  Going to 6 is not an option.<br />
<br />
I was just wondering if there were any known issues.  If not I'll post the Fuse to Eyeon and see if I'm doing anything stupid within the fuse itself.<br />
<br />
Cheers<br />
<br />
John]]></description>
		<pubDate>Thu, 03 Dec 2009 09:59:47 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5914</guid>
	</item>
	<item>
		<title>Select Channel For A View Window From Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5907</link>
		<description><![CDATA[Hi,<br />
<br />
Does anyone know how to set the Channel for a view, for example, right view, to Alpha , or Depth, or Color, etc., from script.<br />
<br />
I tried the following, not work:<br />
<br />
b_view.View.Channel=3  -- TO Alpha<br />
composition:SetData(Prefs.Comp.Views.Right.Channel, 3)<br />
composition.Views.Right.Channel =3<br />
b_view.Channel=3<br />
<br />
Thanks for any help.<br />
<br />
Sincerely,<br />
Shawn]]></description>
		<pubDate>Tue, 01 Dec 2009 16:03:31 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5907</guid>
	</item>
	<item>
		<title>360° Rotation</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5899</link>
		<description><![CDATA[Hi all,<br />
I have 3 Points: P1; P2; PM. PM have an Position Script that move it to the middle from P1 and P2:<br />
<br />
Point X= (p1x+p2x)/2<br />
Point Y= (p1y+p2y)/2<br />
<br />
p1x and p1y is the centre from P1<br />
p2x and p2y is P2<br />
<br />
And p3x and p3y have expression: Point(P1.Center.X+0.2, P1.Center.Y)<br />
<br />
Now I want that PM rotate correctly when I move P1 or P2, see the Picture. My Number Out Expression for the rotation is this:<br />
<br />
acos(((p2x-p1x)*(p3x-p1x)+(p2y-p1y)*(p3y-p1y))/(sqrt((p3x-p1x)^2+(p3y-p1y)^2)*sqrt((p2x-p1x)^2+(p2y-p1y)^2)))<br />
<br />
<br />
This works fine, but only for 180°, then the PM Rotation flip/reverse from 180° to 0°.<br />
<br />
You have a idea what I can do?<div id='attach_wrap' class='clearfix'>
	<h4>Attached Thumbnails</h4>
	<ul>
		
			<li class=''>
				<a class='resized_img' rel='lightbox[22165]' id='ipb-attach-url-1558-0-13475900-1337345150' href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=1558" title="winkel.jpg - Size: 18.26K, Downloads: 39"><img itemprop="image" src="http://www.pigsfly.com/forums/uploads/monthly_11_2009/post-14416-1259408879977_thumb.jpg" id='ipb-attach-img-1558-0-13475900-1337345150' style='width:25;height:15' class='attach' width="25" height="15" alt="winkel.jpg" /></a>

			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Sat, 28 Nov 2009 11:48:08 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5899</guid>
	</item>
	<item>
		<title>Command Line Launch And Wait For Fusion</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5891</link>
		<description><![CDATA[Hey,<br />
<br />
Another embarrassingly simple query.  I have this test script:<br />
<br />
<pre class='prettyprint'>fuEXE = "U:&#092;&#092;applications&#092;&#092;fusion&#092;&#092;521&#092;&#092;Fusion.exe"
fusion = Fusion("localhost")
if fusion == nil then
	os.execute(fuEXE)
else
	print("Fusion already open fool!")
end

print("I'm now ready to do stuff!")</pre>
<br />
which is fine if Fusion is open and I can then start to open comps and run scripts.  However, when fusion isn't open the script seems to stall during/after Fusion is launched.<br />
<br />
What is the protocol to do this?  All I want is to be able to open Fusion if not open and then do stuff <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /><br />
<br />
Cheers<br />
<br />
John]]></description>
		<pubDate>Thu, 26 Nov 2009 13:53:14 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5891</guid>
	</item>
	<item>
		<title>Script To Convert Footage On The Fly (I.e. Tga To Avi)?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5881</link>
		<description><![CDATA[Hi everyone,<br />
<br />
Years ago I wrote a little script in DF4. <br />
It was pretty basic.<br />
It just converted a given folder (with tga or whatever footage files) into a differnet type i.e. AVI or MOV or TIFF.<br />
Then I made a few registry entries and I had a convenient rightclick menu in Windows Explorer to convert a whole folder (and subfolders) on the fly. <br />
<br />
Before I start to rewrite this script in Fu6, I would like to know if someone did something similar already and if he/she would like to share it?<br />
<br />
All the script did was picking a pre setup flow with exactly ONE Loader and ONE Saver (and whatever additional tools inbetween) and simply exchanged the footage path and target file(s). It changed the flow length accordingly and started rendering.<br />
<br />
If noone did that already or simply doesn't like to share - what do you guys think of such a script?<br />
Any useful? Shall I rewrite asap, or no interest at all?<br />
<br />
If someone thinks this is great and he/she wants to dig into it, I'd be happy to share my old "*.dfscript" files.<br />
<br />
Any other ideas? What else should be in this script?<br />
<br />
cheers<br />
Uli]]></description>
		<pubDate>Tue, 24 Nov 2009 13:40:08 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5881</guid>
	</item>
	<item>
		<title>Looking For A Complete List Of Error/exit Codes</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5878</link>
		<description><![CDATA[Hi<br />
<br />
I was searching a list of all error or exit codes for Fusion 5.31.74 <br />
<br />
The only thing i found is thoses codes, found here :<br />
<br />
<a href='http://vfxpedia.com/index.php?title=Eyeon:Manual/Network_Rendering/Console_Slave' class='bbc_url' title='' rel='nofollow'>http://vfxpedia.com/index.php?title=Eyeon:Manual/Network_Rendering/Console_Slave</a><br />
<br />
<em class='bbc'>The ConsoleSlave produces a numeric exit code when it completes, which can be checked in a batch file or by a third-party render manager. The following exit codes are common:<br />
<br />
    * 0 means that the render or other operation completed successfully, and ConsoleSlave exited normally.<br />
    * 10 means there was a problem with rendering the comp (see the render log for details), or that the process was interrupted by a CTRL-C signal.<br />
    * 20 means there was some problem with the startup - DLLs may be missing, or a problem with a plugin was encountered, or there was a problem obtaining a licence. Check the console slave's output, or re-run it with the /verbose switch for more information. </em><br />
<br />
But it seems to me that there is more than only 3 exit codes ?<br />
<br />
Am i right or wrong ?<br />
<br />
Thanks]]></description>
		<pubDate>Mon, 23 Nov 2009 20:49:37 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5878</guid>
	</item>
	<item>
		<title>I Need A Tricky Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5875</link>
		<description><![CDATA[Hi There!<br />
<br />
I need a tricky fusion script, that generate a fusion script from a fusion comp, that generate this fusion comp.<br />
<br />
Do you understand me? :-)<br />
<br />
Thanks]]></description>
		<pubDate>Fri, 20 Nov 2009 15:04:56 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5875</guid>
	</item>
	<item>
		<title><![CDATA[[Fuse] Particle Color And Image]]></title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5871</link>
		<description><![CDATA[Hi,<br />
<br />
I'm just looking at the ParticleEmitterTest.fuse and I want to cannibalize it to create a simple image based particle emitter.  I have two questions really.  How are the particles coloured when the 'UseColor from Region' is set and how can I colour the particles based on p.position?<br />
<br />
What I don't understand is what Pixel() is in:<br />
<br />
<pre class='prettyprint'>if clrsrc == 1 then
   pix = Pixel()
end</pre>
<br />
and, most things like position are set thus:<br />
<br />
<pre class='prettyprint'>p.Position = Vector3f(1, 10, 10)</pre>
<br />
Cheers<br />
<br />
John]]></description>
		<pubDate>Wed, 18 Nov 2009 16:59:08 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5871</guid>
	</item>
	<item>
		<title>New Free Script : Hos_Psdlayers</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5870</link>
		<description><![CDATA[Hey folks,<br />
<br />
here's a new script, it allows you to generate a loader and merge or imageplane for each layer in a PSD file.<br />
There's a small video on the blog post that explains the script in more detail.<br />
<br />
<a href='http://www.svenneve.com/?p=480' class='bbc_url' title='' rel='nofollow'>http://www.svenneve.com/?p=480</a><br />
<br />
Hope you have some use for it.<br />
<br />
cheers,<br />
Sven]]></description>
		<pubDate>Wed, 18 Nov 2009 11:59:50 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5870</guid>
	</item>
	<item>
		<title>Pathbrowse</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5869</link>
		<description><![CDATA[Heyho... <br />
<br />
I´m trying to get my head around fusion scripting for the last couple of days and I´m stumbled upon a little problem.<br />
<br />
<strong class='bbc'>Can it be, that the AskUser PathBrowse field let you only point to a file (exactly the same as the FileBrowse field does) and not to a directory-path as its name intends</strong>, or is it just me and my simple logic that tricks me here..<br />
<br />
I´m running F6.0 build 511 and working on a little saver-setup-automation script.<br />
<br />
thanks in advance and greetings from Germany.<br />
L-rac]]></description>
		<pubDate>Tue, 17 Nov 2009 13:48:29 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5869</guid>
	</item>
	<item>
		<title>Fuse, Scriptlibs?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5868</link>
		<description><![CDATA[Is it possible to define functions for a fuse with a scriptlib or similar?<br />
<br />
- Chad]]></description>
		<pubDate>Mon, 16 Nov 2009 21:15:15 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5868</guid>
	</item>
	<item>
		<title>Fuse, Get Metadata From Input?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5867</link>
		<description><![CDATA[In a fuse, how do I access the metadata of an image input?<br />
<br />
- Chad]]></description>
		<pubDate>Mon, 16 Nov 2009 20:35:23 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5867</guid>
	</item>
	<item>
		<title>Fuse, Get Class Of Input?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5866</link>
		<description><![CDATA[Is there a way to get the class of an image input in a fuse? <br />
<br />
I want a fuse to operate differently depending on the type of input provided.  If the input is of a certain class, then it will use an alternative process.  <br />
<br />
Transform tools know when they have certain tools input, so they can concatenate the transform.  I'm looking for something like that.<br />
<br />
- Chad]]></description>
		<pubDate>Mon, 16 Nov 2009 20:18:08 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5866</guid>
	</item>
	<item>
		<title>Load A Macro In Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5865</link>
		<description><![CDATA[Hi,<br />
<br />
Is it possible to load a Macro by Script, and then in script, change the attributes of the Macro, like input, output, checkbox or slide bar within the Macro?<br />
<br />
I have a Macro which has two components: ColorSpace1 and ColorSpace2 . I hope I can do the following in script:<br />
<br />
create a new variable of this Macro, I call it Macro01. I hope I can do something like: Macro01.Input=Loader1.Output <br />
<br />
and a_view:ViewOn(Macro01) to view the result in one of the view windows.<br />
<br />
Thanks.<br />
<br />
Shawn]]></description>
		<pubDate>Mon, 16 Nov 2009 16:10:56 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5865</guid>
	</item>
	<item>
		<title>Put Script On Tool Bar</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5858</link>
		<description><![CDATA[Hi,<br />
<br />
Is it possible to put a symbol on tool bar which represent a script we create? So, it would be easier to user when they want to use some functions frequently?<br />
<br />
Thanks.]]></description>
		<pubDate>Fri, 13 Nov 2009 17:06:19 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5858</guid>
	</item>
	<item>
		<title>Create User Scriptlib</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5857</link>
		<description><![CDATA[Hey,<br />
<br />
I know I can run functions from external scripts with dofile() but is it possible implement a similar library to the eyeon.scriptlib?  I don't see any examples where external lua libraries are called (plenty of C libraries thoug <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /> ) or where I could set any environment variable within Fusion.<br />
<br />
I have tried to create a new user.scriptlib file and dump it into the root as as helpfile suggests but is there anything special I need to declare beyond the functions to get it to work coz right now i can't call any functions from within it. <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/sad.gif' class='bbc_emoticon' alt=':(' /><br />
<br />
Cheers<br />
<br />
John]]></description>
		<pubDate>Fri, 13 Nov 2009 16:57:56 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5857</guid>
	</item>
	<item>
		<title>Put Buttons On Ask User Dialogs</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5856</link>
		<description><![CDATA[Hi,<br />
<br />
Is it possible to put buttons other than OK and CANCEL on Ask User Dialogs. And, when click on those buttons, can have operations happen directly on the screen, without clicking on OK?<br />
<br />
Thanks.]]></description>
		<pubDate>Fri, 13 Nov 2009 16:07:51 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5856</guid>
	</item>
	<item>
		<title>View List Issue</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5855</link>
		<description><![CDATA[Hi,<br />
<br />
Does anybody know how to get a view list of all the views?<br />
<br />
I know we can use composition:GetPreviewList()["Left"] to get left preview view. But if I opened another or two new views by click on Windows --&gt; New View. How can I access them in script.<br />
<br />
After that, is it similar to the following to put an image to that view? <br />
a_view:ViewOn(Loader1)<br />
<br />
Thanks.]]></description>
		<pubDate>Fri, 13 Nov 2009 16:01:51 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5855</guid>
	</item>
	<item>
		<title>Fuse - If No Input</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5854</link>
		<description><![CDATA[Hi,<br />
<br />
I'm not sure how to detect if an input has no erm..  input <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /> <br />
<br />
<br />
say I have an image input:<br />
<br />
<pre class='prettyprint'>InImageSpec = self:AddInput("Specular", "Specular", {
		LINKID_DataType = "Image",
		INPID_InputControl = "ImageControl",
		})</pre>
<br />
if I try to use InImageSpec and there is no input for it then the fuse fails.  I'm pretty sure the fuse fails whether or not InImageSpec is used in the fuse. So, is there any way of outputing a default value if there is no input specified?<br />
<br />
Cheers<br />
<br />
John]]></description>
		<pubDate>Fri, 13 Nov 2009 14:32:55 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5854</guid>
	</item>
	<item>
		<title><![CDATA[Check If A &#34;end Render Script&#34; Is Finished.]]></title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5853</link>
		<description><![CDATA[Hi,<br />
I need to query Fusion to find out if it has finished rendering AND all the End Render scripts have returned. The comp:IsRendering() returns false as soon as Fusion rendered all the frames but before the End Render scripts have finished. A work around I'm doing now is to generate a temp file before the render starts and remove it as the last command in the End Render script, but its not a very pretty solution. <br />
<br />
I'm using the executebg('command', true) in the End Render script, so Fusion does wait for the process finish, I just don't know how to query Fusion about it. It's a low resource process that takes a couple of minutes, so checking CPU/RAM doesn't work either.<br />
<br />
Anyone know of a way to ask Fusion if a processes that Fusion has started is still running?<br />
<br />
Cheers<br />
Christoffer Hulusj&#246;<br />
christoffer@hulusjo.se<br />
<a href='http://christoffer.hulusjo.se' class='bbc_url' title='' rel='nofollow'>http://christoffer.hulusjo.se</a>]]></description>
		<pubDate>Fri, 13 Nov 2009 00:41:17 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5853</guid>
	</item>
	<item>
		<title><![CDATA[Expected Near 'peyeonscript' Error Message]]></title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5848</link>
		<description><![CDATA[Hi! <br />
I have a problem, with Python scripting in fusion. <br />
I try a simple python script in Fusion, bud doesn't work.<br />
Here it my code:<br />
<br />
import PeyeonScript as eyeon<br />
<br />
fu = eyeon.scriptapp("Fusion","localhost")<br />
comp = fu.GetCompList()<br />
for cmp in comp:<br />
print comp[cmp] <br />
<br />
I give these error message:<br />
[string "ldofile("C:/Program Files (x86)/eyeon/Fusio..."]:1: ...gram Files (x86)/eyeon/Fusion 5.3/Scripts/Comp/python_proba2.eyeonscript:1: '=' expected near 'PeyeonScript'<br />
<br />
What is the problem?<br />
Thanks]]></description>
		<pubDate>Wed, 11 Nov 2009 16:10:44 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5848</guid>
	</item>
	<item>
		<title>Script Run When Loading A Composition</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5837</link>
		<description><![CDATA[Hi everyone,<br />
<br />
Does anybody know how to put a script to a place where <br />
<br />
it will be executed when the composition loaded up into <br />
<br />
the fusion?<br />
<br />
What I am doing now is trying to display the image in a <br />
<br />
loader object directly into left view.<br />
<br />
I executed the following code in console, it works. But <br />
<br />
if I put in the script part(in the script tab, three <br />
<br />
places: Frame render script, Start/End Render Scripts and <br />
<br />
End Render Script) of the Loader object, it does not <br />
<br />
work. When load the composition, always give error <br />
<br />
message like: attempt to index global 'composition'( a <br />
<br />
nil value).<br />
<br />
Here are the code:<br />
<br />
a_view=composition:GetPreviewList()["Left"]<br />
a_view:ViewOn(Loader1)<br />
<br />
<br />
Thanks for any help.]]></description>
		<pubDate>Thu, 05 Nov 2009 22:42:13 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5837</guid>
	</item>
	<item>
		<title>Iup Callbacks</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5836</link>
		<description><![CDATA[I can't get a iup.list to accept callbacks.<br />
<br />
Has anyone been able to use different callbacks beside action?]]></description>
		<pubDate>Wed, 04 Nov 2009 21:18:35 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5836</guid>
	</item>
	<item>
		<title>Expression Help</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5833</link>
		<description><![CDATA[Hi All,<br />
<br />
I am trying to get the current 'DstGridChange' value of an animated gridwarp using an expression.<br />
I tried using the expression <pre class='prettyprint'>GridWarp1:GetValue("DstGridChange",time)</pre>without sucess.<br />
<br />
I am doing something, which is obviously wrong.<br />
Any help would be appreciated.<br />
<br />
<br />
Thanks guys<br />
-T]]></description>
		<pubDate>Tue, 03 Nov 2009 18:34:15 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5833</guid>
	</item>
	<item>
		<title>All The Attributes And Methods Of All Classes Used In Scripting Of Eyeon Fusion</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5829</link>
		<description><![CDATA[Does anyone know where to get the information of all the attributes and methods of all classes used in scripting of eyeon fusion?<br />
<br />
Thanks.]]></description>
		<pubDate>Mon, 02 Nov 2009 17:47:50 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5829</guid>
	</item>
	<item>
		<title>Simple Expression Problem</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5799</link>
		<description><![CDATA[Is it possible to get/manipulate the "Channel" input values of a bitmap tool as number instead of character string?<br />
thx!<br />
<br />
Paul Jacamon.]]></description>
		<pubDate>Tue, 20 Oct 2009 15:27:15 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5799</guid>
	</item>
	<item>
		<title>Reading External File</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5793</link>
		<description><![CDATA[Hi <br />
I am pretty new to Lua but I've done some scripting in fusion already but nothing big. The help file for this topic I found pretty skimpy so I require your help. I have a text file that looks something like this <br />
<pre class='prettyprint'>1324.5 322.5 324.5 34.4 90.0 90.0 45.0
114.5 325.5 524.5 32.4 90.0 90.0 45.0
...
</pre>
the basic idea is to read a file line by line and extract each number to a variable. first three numbers in a line are xyz position next is xyz rotation and the last is an extra parameter. Any help would be appreciated. Thanks in advance.]]></description>
		<pubDate>Fri, 16 Oct 2009 18:25:29 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5793</guid>
	</item>
	<item>
		<title>Create Regular User Interface In Fusion Environment, No Flow Chart.</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5791</link>
		<description><![CDATA[Is it possible to create new buttons on fusion interface with function of the tools provided by Fusion or some Macros created by yourself? <br />
<br />
Besides that, is it possible to not using the drap and drop, and the flow chart. Instead, just function like regular GUI, when click on some button , can go to some window directly to do the operation, like selecting region of interest, picking the color of a pixel, or , the result directly appears in some window?<br />
<br />
Also, is it possible to have four windows in Fusion, i.e., one is the original picture, the second is the one displaying region of interest selected, the third one is the temporary picture working on, the fourth one is the final picture?]]></description>
		<pubDate>Wed, 14 Oct 2009 19:31:43 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5791</guid>
	</item>
	<item>
		<title>Abs To Relative Paths Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5787</link>
		<description><![CDATA[I always thought there was a script to do this already but.....from the wishlist<br />
<br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>*  New It would be great to have a script Relative_Paths.eyeonscript which would convert absolute paths in loaders and savers to relative ones. <br />
<br />
    The algorithm is pretty simple. <br />
    For example, the composition is stored in D:&#092;Work&#092;Project&#092;Scene&#092;Composites&#092;Shot&#092;Scene-Shot_v01.comp and a source clip is D:&#092;Work&#092;Project&#092;Scene&#092;Scans&#092;Shot&#092;2048x1556&#092;000000.dpx <br />
    The script would compare the two paths, find the common part (D:&#092;Work&#092;Project&#092;Scene&#092;) and change it to Comp: (Comp:Composites&#092;Shot&#092;Scene-Shot_v01.comp), then everything after ":" followed by a slash in the composition path would be changed to ".." (Comp:..&#092;..&#092;Scene-Shot_v01.comp). <br />
    After that, the rest of the clip's path would be added after the last slash (Comp:..&#092;..&#092;Scans&#092;Shot&#092;2048x1556&#092;000000.dpx). <br />
    It should be a comp script to be able to change all the paths in a composition or the paths in selected nodes optionally.--Gringo 09:23, 25 September 2009 (EDT)</div></div>
<br />
<br />
I made an initial look into this and came up with one for loaders (atm).  Unfortunately when you change the clip name it changes the global in/out values too but I can fix that later with moveClip or something.<br />
<br />
not finished...<br />
<br />
John<div id='attach_wrap' class='clearfix'>
	<h4>Attached Files</h4>
	<ul>
		
			<li class='attachment'>
				<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=1420" title="Download attachment"><img src="http://www.pigsfly.com/forums/public/style_extra/mime_types/txt.gif" alt="Attached File" /></a>
&nbsp;<a href="http://www.pigsfly.com/forums/index.php?app=core&module=attach&section=attach&attach_id=1420" title="Download attachment"><strong>AX_Relativity_V1.txt</strong></a> &nbsp;&nbsp;<span class='desc'><strong>1.33K</strong></span>
&nbsp;&nbsp;<span class="desc lighter">20 downloads</span>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Tue, 13 Oct 2009 17:05:35 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5787</guid>
	</item>
	<item>
		<title>Intool Scripts Not Working</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5764</link>
		<description><![CDATA[Hi,<br />
I need a InTool script to fetch me some comp attributes, just like I would in the console with:<br />
<pre class='prettyprint'>=composition:GetAttrs().COMPN_RenderStartTime</pre>
<br />
I would like to in the InTool script of a tool do:<br />
<br />
<pre class='prettyprint'>f5 = Fusion()
composition = f5:GetCurrentComp()
renderStart = composition:GetAttrs().COMPN_RenderStartTime
</pre>
<br />
.. similar to the example on page 18 in the Fusion5 script manual. <br />
<br />
Currently everything is failing, <br />
<strong class='bbc'>Fusion()</strong> returns: <strong class='bbc'><span style='color: #FF0000'>attempt to call global 'Fusion' (a nil value)</span></strong><br />
<strong class='bbc'>comp </strong>returns a reference to a composite object, but GetAttrs() returns <strong class='bbc'><span style='color: #FF0000'>attempt to call method 'GetAttrs' (a nil value)</span></strong><br />
<strong class='bbc'>fu </strong>return a refernce to a unknown object, but :GetCurrentComp() doesnt work.<br />
<br />
Since its says it supposed to work in the manual I would like to figure out how to fix it, anyone have any ideas what I'm doing wrong here or a workaround?<br />
<br />
Cheers<br />
Christoffer Hulusj&#246;<br />
<br />
Edit:<br />
After some more digging I found out that the InTool way seems to be to fetch it by doing comp.Name, comp.RenderStart, etc.. Which to me seems weird, instead of the way in the script manual where it would work the same as in the console. (comp.Name will not work in the console for example) Is there any documentation about this?]]></description>
		<pubDate>Wed, 30 Sep 2009 23:42:02 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5764</guid>
	</item>
	<item>
		<title>Fusion Minimum Value Scripting</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5763</link>
		<description><![CDATA[Hey guys,<br />
<br />
I'm attaching a blend from another node to the blend in the current node.  I'm doing this by using the simple add expression function and dragging the cursor to the blend.  this is fine, except it is too heavy.  I can add "-.1" to the expression giving me good results, however when the blend is 0, the expression makes it -0.1.  I am not familiar with Lua, and I can't come up with, or find a solution to make the expression have a minimum value.  How can i clamp this?<br />
<br />
On another note, fusion 6 users should be a aware, that locking tracking information usually causes everything attached to break at some point.  <br />
<br />
thanks for your help!]]></description>
		<pubDate>Wed, 30 Sep 2009 15:46:57 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5763</guid>
	</item>
	<item>
		<title>Dynamic Askuser/interface</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5762</link>
		<description><![CDATA[Hey,<br />
<br />
Is it possible to build a dynamic interface for a script... say to change options/values based on a dropbox or something?<br />
<br />
Cheers<br />
<br />
John]]></description>
		<pubDate>Wed, 30 Sep 2009 14:05:54 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5762</guid>
	</item>
	<item>
		<title>More Freebies</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5752</link>
		<description><![CDATA[Hi folks,<br />
<br />
got another couple of freebies for you to play with.<br />
<br />
I added 2 view shader fuses for Fusion 6:<br />
<br />
<a href='http://www.svenneve.com/?p=406' class='bbc_url' title='' rel='nofollow'>hos_HSV_VS</a>, just a simple test, allows you to view HSV or H,S and V seperately (mapped to all RGB channels).<br />
<br />
<a href='http://www.svenneve.com/?p=444' class='bbc_url' title='' rel='nofollow'>hos_SimpleSpatialTonemapper_VS</a>, a fuse that allows you to tone map your view window based on the simple spatial tone mapping algorithm by K.K. Biswas and Sumanta Pattanaik.<br />
I'll be compiling this one as a separate node as well with some added extras.<br />
<br />
There's now also a <a href='http://www.svenneve.com/?page_id=383' class='bbc_url' title='' rel='nofollow'>separate page</a> that lists all the plugins/scripts/macros/fuses in one go for easy download (no need to dig through the entire blog), since i haven't posted everything i wrote in here, this might be nice starting point.<br />
<br />
have fun with 'm<br />
<br />
Sven]]></description>
		<pubDate>Wed, 23 Sep 2009 07:58:07 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5752</guid>
	</item>
	<item>
		<title>Using Python When 2 Fusion Are Open</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5751</link>
		<description><![CDATA[Hi <br />
<br />
   I cannot access, from python, the comps on fusion if they are loaded from a second fusion application running.<br />
<br />
 Is there a way to avoid that issue, since i cant force the artists to have only one copy of fusion running<br />
<br />
Thanks]]></description>
		<pubDate>Tue, 22 Sep 2009 19:59:56 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5751</guid>
	</item>
	<item>
		<title>Python Questions</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5745</link>
		<description><![CDATA[Some questions about python interface in fusion:<br />
<br />
1. Is python 3.1 supportet? If yes how could I load the DLL, because I always get an error when starting a script in 3.1 "DLL could not be found"<br />
2. If you have a template with different Loaders, that have to be changed by the script. Would you do text replacement in this case or would you load the comp, change it by script and then send it to the render manager?<br />
3. Must the fusion application always run to use python script or is there also a non GUI support?<br />
<br />
Best regards]]></description>
		<pubDate>Mon, 21 Sep 2009 10:08:39 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5745</guid>
	</item>
	<item>
		<title>Multiple Comp File Editing</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5737</link>
		<description><![CDATA[Hey,<br />
<br />
I was wondering what the best way to batch process a whole bunch of comps is.  I'm thinking simply changing saver settings at the moment.  I've thought about parsing them all as txt files but that somehow feels a bit inelegant so maybe there are some other ways?<br />
<br />
Sorry to be a bit vague but it's something i *may* end up doing rather than something ASAP so I've not dedicated much brainpower to it yet <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /><br />
<br />
John]]></description>
		<pubDate>Thu, 17 Sep 2009 12:31:51 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5737</guid>
	</item>
	<item>
		<title>Python Questions</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5736</link>
		<description><![CDATA[Hi, I just start with python programming in Fusion and just want to know some basics as well as strategic decisions regarding scripting:<br />
<br />
1. I have a template (finished Fusion Project) where I just have to cahnge the clips in loaders and savers. What would be the best choice, to just replace the text of the clip names in the projet file or to do this by a script? It could be, that the clip length will change as well as the length of the rendering. Txt replacement is quite easy in python and also there would be not so many failures if a script may fail.<br />
Also starting the renderin in the render manager could be easier, but what would you prefer?<br />
<br />
2. Render manager: Is it possible to control the render manager completely like pause, stop, move up and down render job, get current render list.<br />
Do internal scripts like the "Run Command" do also work and which engine (computer) will execute the command?<br />
<br />
3. I want to use python 3.1 and not 2.5. Does this also work? I want to use some additional features of 3.1 and it will cause al lot of trouble and work if it will not work<br />
<br />
4. Does the acual python API also work with 6.0 version or do I have to wait?<br />
<br />
Best regards]]></description>
		<pubDate>Thu, 17 Sep 2009 12:28:36 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5736</guid>
	</item>
	<item>
		<title>Python Questions</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5735</link>
		<description><![CDATA[Hi,<br />
I have to perpare a external control of Fusion Rendering and just want to know some things about the python interface to fusion.<br />
1. Is it possible to use the actual 3.1 version Python for scripting? I need some of the new features in Python, that are not included in the 2.5 version.<br />
2. Render Manager: I have a template, with some file input an one file outputs. I have to change the clip names in input and output. Is it better to change it in the texfile with text replacement and just send the finished file to the render manager or will it be better to change the input and outputs by scripting and then send it to the render manager by python scripting?<br />
3. Render manager control: is it possible to control the render manager by python scripting?<br />
<br />
Thanks for the answers<br />
<br />
Martin]]></description>
		<pubDate>Thu, 17 Sep 2009 09:55:56 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5735</guid>
	</item>
	<item>
		<title>Input Switcher Fuse</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5733</link>
		<description><![CDATA[Ok, to begin with, I've never done any Fusion/Fuse scripting, so this will not be an optimized or efficient script I believe..<br />
<br />
I've written a Fuse which basically Switches between 4 input streams using a simple if then else structure. Now the problem here is that lets say i have only 3 inputs connected and the 4th input is empty, the Fuse fails. I can see a simple logic but unable to find the right way out... This is sort of like the Switcher in Houdini. In fusion, for simple 2 stream switching one can always use a Dissolve but our specific requirement was a 4 input switch. And the idea is to just switch inputs, not animate or blend over time. <br />
<br />
This works if all 4 inputs are connected.<br />
<br />
<pre class='prettyprint'>
FuRegisterClass("Switcher", CT_Tool, {
	REGS_Name = "Switcher",
	REGS_Category = "Fuses&#092;&#092;eyeon",
	REGS_OpIconString = "Swtch",
	REGS_OpDescription = "Switcher",
	REG_OpNoMask = true,
	REG_NoBlendCtrls = true,
	REG_NoObjMatCtrls = true,
	REG_NoMotionBlurCtrls = true,
	})

function Create()
	InImage = self:AddInput("Input1", "Input1", {
		LINKID_DataType = "Image",
		LINK_Main = 1,
		})
	In2Image = self:AddInput("Input2", "Input2", {
		LINKID_DataType = "Image",
		LINK_Main = 2,
		})
	In3Image = self:AddInput("Input3", "Input3", {
		LINKID_DataType = "Image",
		LINK_Main = 3,
		})
	In4Image = self:AddInput("Input4", "Input4", {
		LINKID_DataType = "Image",
		LINK_Main = 4,
		})
	InSwitch = self:AddInput("Switch", "Switch", {
		LINKID_DataType = "Number",
		INPID_InputControl = "MultiButtonControl",
		INP_Default = 0,
		{MBTNC_AddButton = "1", 		MBTNCD_ButtonWidth = 1, },
		{MBTNC_AddButton = "2", 	MBTNCD_ButtonWidth = 1, },
		{MBTNC_AddButton = "3", 	MBTNCD_ButtonWidth = 1, },
		{MBTNC_AddButton = "4", 	MBTNCD_ButtonWidth = 1, },
		})
	OutImage = self:AddOutput("Output", "Output", {
		LINKID_DataType = "Image",
		LINK_Main = 1,
		})				
end

function Process(req) 
	local switch = InSwitch:GetValue(req).Value
	if switch == 0 then
		local img = InImage:GetValue(req)
		img:Use()
		OutImage:Set(req, img)
	else 
	if switch == 1 then
		local img2 = In2Image:GetValue(req)
		img2:Use()
		OutImage:Set(req,img2)
	else
	if switch == 2 then
		local img3 = In3Image:GetValue(req)
		img3:Use()
		OutImage:Set(req,img3)
	else
	if switch == 3 then
		local img4 = In4Image:GetValue(req)
		img4:Use()
		OutImage:Set(req,img4)
				end
			end
		end
	end
end

</pre>
<br />
Where exactly am I going wrong here ??<br />
<br />
Thanks,<br />
<br />
Sachin B]]></description>
		<pubDate>Wed, 16 Sep 2009 14:11:32 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5733</guid>
	</item>
	<item>
		<title>Help On This Issue</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5731</link>
		<description><![CDATA[Hello, <br />
<br />
I am new to this forum as well as fusion scripting. What is wrong with the following code.<br />
When i execute this i am getting the following error *** attempt to call global `checkPassDirectoryAndLoadContents' (a nil value) *** and I am unable to view it in the particular viewer i am defining.<br />
<br />
Can anybody tell me....<br />
<br />
Thanks...<br />
<br />
The code is<br />
--<br />
--<br />
<br />
mydirname = "Ambient"<br />
ambloader = checkPassDirectoryAndLoadContents (bgpasspath, bgambdirname)<br />
print (bgambloader)<br />
<br />
-- 	This function reads the contents of the given pass directory<br />
--	loads the footage if presents<br />
--	views it on the left viewer of the pass loader<br />
--	returns the passloader name<br />
function checkPassDirectoryAndLoadContents (mainpath, passdirname)<br />
	passdir = (mainpath .. "&#092;&#092;" .. passdirname)<br />
	passloader = ""<br />
	if passdir then<br />
		passfilepath = (passdir .. "&#092;&#092;*.tif")<br />
		passfiles = readdir (passfilepath)<br />
		passfilesnumber = table.getn (passfiles)<br />
		imagename = passfiles[1].Name<br />
		imagepath = (passdir .. "&#092;&#092;" .. imagename)<br />
		composition:Lock()<br />
		passloader = Loader({Clip = imagepath})<br />
		composition:Unlock()<br />
		myviewer = composition:GetPreviewList()["Left"]<br />
		myviwer:ViewOn(passloader)<br />
	end<br />
	print (passloader)<br />
	return passloader<br />
end]]></description>
		<pubDate>Wed, 16 Sep 2009 07:10:40 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5731</guid>
	</item>
	<item>
		<title>Evaluation Of A String</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5713</link>
		<description><![CDATA[Hello!<br />
<br />
I'm trying to compose a variable name out of string fragments and need to turn the string into the variable value.<br />
<br />
Here is an abstract example I've tried to implement:<br />
<pre class='prettyprint'>ScanTtl = Loader1.GlobalOut-Loader1.GlobalIn+1
Go = "Scan".."Ttl"
StyledText = lua.eval(Go)</pre>
lua.eval doesn't work.<br />
<br />
Variables state:<br />
ScanTtl = 48<br />
Go = "ScanTtl"<br />
<br />
I'd like to call Go and get 48. Is it possible?]]></description>
		<pubDate>Wed, 02 Sep 2009 09:33:46 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5713</guid>
	</item>
	<item>
		<title>Nodes Inside A Group/macro</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5712</link>
		<description><![CDATA[heyho everybody,<br />
<br />
does anybody know of a method to access nodes inside a group/macro through a script?<br />
<br />
is it possible to select nodes inside the group/macro?<br />
is it possible to set/change parameters of nodes inside a group/macro?<br />
<br />
michael]]></description>
		<pubDate>Tue, 01 Sep 2009 21:01:39 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5712</guid>
	</item>
	<item>
		<title>User Controls In Scripts</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5710</link>
		<description><![CDATA[hi everybody,<br />
<br />
i want to add a custom user control to a script-generated tool. i have added a merge like that<br />
<br />
<pre class='prettyprint'>myMerge = Merge({Background = myBackground.Output, Foreground = myForeground.Output, ApplyMode = "Screen"})
myMerge:SetAttrs({TOOLS_Name = "Mrg_" .. myMergeName .. "_screen"})</pre>
and i want to let's say add a custom slider control to this merge within the script. how can i do that?<br />
<br />
Thorsten]]></description>
		<pubDate>Mon, 31 Aug 2009 11:25:10 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5710</guid>
	</item>
	<item>
		<title>Scripting In Learning Edition</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5705</link>
		<description><![CDATA[Are there any known bugs/restrictions in the learning edition (build 447) when it comes to scripting?<br />
<br />
The simple command<br />
<br />
<pre class='prettyprint'>a = Blur()</pre>
<br />
returns an error <br />
<br />
<pre class='prettyprint'>&#91;string "a = Blur()"&#93;:1: attempt to call global 'Blur' (a nil value)</pre>
<br />
although the node is created in the flow view.]]></description>
		<pubDate>Thu, 27 Aug 2009 17:47:15 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5705</guid>
	</item>
	<item>
		<title>Copy Dod</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5697</link>
		<description><![CDATA[hi there,<br />
just noticed that few macros here don't work in Fu6 because of wrong DoD usage. Like expanding matte and using MatteControl to Combine Alpha - Copy for replacing matte keeps bg DoD.<br />
<br />
So I'm trying to make node to copy DoD from one tool to another. From release notes for Fusion 6.0 Build 440 it looks like DoD scripting is supported:<br />
- Added DoD support to Output’s GetValue() scripting function’s attrs.<br />
- Added GetDoD() scripting function to Output.<br />
<br />
typing to concole<br />
a,b = Text1.Output:GetValue(1.0)<br />
==b<br />
returns DoD as a table, anyone knows how to use it in simple expression or InTool script?<br />
<br />
thanks<br />
<br />
jirka]]></description>
		<pubDate>Tue, 25 Aug 2009 15:39:10 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5697</guid>
	</item>
	<item>
		<title>Getting Styledtext Content</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5693</link>
		<description><![CDATA[Hi!<br />
<br />
I can easily get the value of any tool's attribute in a frame render<br />
script in order to use it as a text e.g.<br />
<span style='color: #000080'><em class='bbc'>StyledText = Merge1.Blend</em></span><br />
<br />
But I couldn't manage to get contents of a Text.StyledText or other<br />
"text edit" fields in such a manner.<br />
<span style='color: #000080'><em class='bbc'>StyledText = Text1.StyledText</em></span> doesn't work<br />
<br />
Is it possible at all?]]></description>
		<pubDate>Thu, 20 Aug 2009 07:29:10 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5693</guid>
	</item>
	<item>
		<title>Change Pixel Aspect Through Script</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5655</link>
		<description><![CDATA[Hi all,<br />
 I am trying to change the PixelAspect (X & Y) values of resize tool from Python.<br />
 Normally the Point() function is used in eyeonscript to do this.<br />
 How should I achieve this from python?<br />
 Any ideas?<br />
<br />
Thanks<br />
-T]]></description>
		<pubDate>Wed, 29 Jul 2009 22:55:58 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5655</guid>
	</item>
	<item>
		<title>Wireless Link Improvement?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5647</link>
		<description><![CDATA[Hi how hard would it be to make the wireless link fuse to <br />
autmagically be renamed to the source its linking and show a thumbnail of this?<br />
would be so very very nice!!! <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' />]]></description>
		<pubDate>Fri, 24 Jul 2009 10:14:07 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5647</guid>
	</item>
	<item>
		<title>Tracker Node</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5636</link>
		<description><![CDATA[Hi there<br />
<br />
I have some difficulties with the "Track Forward From Current Time" Tracker node function. <br />
<br />
When i click the appropriate button everything works like it should. <br />
When I try to activate the same function by code such as<br />
<br />
<pre class='prettyprint'>trname.TrackForwardFromCurrentTime = 1</pre>  ("trname" is the nodes actual TOOLS_Name attribute)<br />
<br />
I get following results: "Render started at Sun 12:56PM  (Range: -1000000000 to 550)" <br />
And nothing seems to happen (only the end range is OK).<br />
<br />
Is it even possible to trigger the tracking function by script?<br />
<br />
Best regards<br />
<br />
Fry!]]></description>
		<pubDate>Sun, 19 Jul 2009 11:11:23 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5636</guid>
	</item>
	<item>
		<title>Update Output From Frame Render Script Without Changing Current Frame Of The Comp?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5618</link>
		<description><![CDATA[I'm displaying values from an xform with a frame render script in a text node à la<br />
<br />
<br />
<pre class='prettyprint'>StyledText=Transform4.Angle</pre>
<br />
<br />
At the moment the values in the text node only update when I scrub through the timeline and not on the fly when I change the values in the xform.<br />
<br />
Is there a way of updating on the fly without changing the current frame of the comp?<br />
<br />
Thanks in advance.<br />
<br />
Thorsten]]></description>
		<pubDate>Wed, 08 Jul 2009 19:57:19 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5618</guid>
	</item>
	<item>
		<title>Size Of Text String</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5613</link>
		<description><![CDATA[Sorry if this is a newbie script question, but I've searched around for a couple of days for this.<br />
<br />
I want to size a bar behind some text, to the same length as the text. How do I get the width of the text in an expression and use it to resize the X size of the bar? Or do I need to use a script to do this. I'm reading names and need to match the size to the input text width.<br />
<br />
Thanks<br />
<br />
IanM]]></description>
		<pubDate>Tue, 07 Jul 2009 09:01:40 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5613</guid>
	</item>
	<item>
		<title>Import Ascii Tracking Data ?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5610</link>
		<description><![CDATA[I have AE and Mocha for AE....<br />
needless to say mocha can at times be a kick ass tracker.<br />
<br />
is there a script available to import tracking data that was intended for ae...<br />
(i know the full version of mocha has Fusion export...but i just have the cheapo AE version)<br />
<br />
or if not, where would one start to write a script to import keyframes based on ASCII text<br />
thanks<br />
<br />
here is an example of ascii data from mocha<br />
<br />
<em class='bbc'>Adobe After Effects 6.0 Keyframe Data<br />
<br />
	Units Per Second	10<br />
	Source Width	720<br />
	Source Height	486<br />
	Source Pixel Aspect Ratio	0.9<br />
	Comp Pixel Aspect Ratio	0.9<br />
<br />
<br />
Anchor Point<br />
	Frame	X pixels	Y pixels	Z pixels<br />
	1	311.5	265.5	0<br />
	2	307.433	275.84	0<br />
	3	301.808	283.5	0<br />
	4	292.668	286.474	0<br />
	5	282.397	289.287	0<br />
	6	272.704	291.487	0<br />
	7	254.486	290.419	0<br />
	8	250.819	285.697	0<br />
	9	247.758	277.926	0<br />
	10	246.646	268.317	0<br />
	11	245.029	256.557	0<br />
	12	244.998	232.203	0<br />
	13	244.778	223.067	0<br />
	14	243.476	216.303	0<br />
	15	243.975	207.284	0<br />
	16	246.545	196.316	0<br />
	17	258.422	172.543	0<br />
	18	262.006	161.274	0<br />
	19	266.625	148.991	0<br />
	20	271.847	136.299	0<br />
	21	276.304	124.619	0<br />
	22	281.275	106.69	0<br />
	23	285.719	101.125	0<br />
	24	288.441	93.5289	0<br />
	25	291.106	85.1594	0<br />
	26	291.846	77.4852	0<br />
	27	296.419	66.3996	0<br />
	28	300.556	60.6543	0<br />
	29	302.896	54.1287	0<br />
	30	304.279	47.8761	0<br />
	31	305.458	41.8742	0<br />
	32	300.866	27.5057	0<br />
	33	300.193	23.0026	0<br />
	34	300.923	18.5946	0<br />
	35	302.859	14.4638	0<br />
	36	310.378	12.441	0<br />
	37	309.718	4.30408	0<br />
	38	310.187	4.45978	0<br />
	39	315.012	8.51385	0<br />
	40	321.269	13.3145	0<br />
	41	325.968	19.5232	0<br />
	42	329.442	28.1383	0<br />
	43	329.201	29.9588	0<br />
	44	329.83	31.7482	0<br />
	45	330.335	32.9407	0<br />
	46	332.457	33.2195	0<br />
	47	330.746	30.6252	0<br />
	48	329.689	30.5594	0<br />
	49	327.537	28.3686	0<br />
	50	319.243	27.2179	0<br />
	51	315.713	28.9509	0<br />
	52	312.11	27.6151	0<br />
	53	312.972	26.0819	0<br />
	54	316.665	25.3618	0<br />
	55	319.322	24.4037	0<br />
	56	314.85	24.6151	0<br />
	57	317.249	29.5436	0<br />
	58	316.656	32.2044	0<br />
	59	315.792	31.838	0<br />
	60	319.288	37.6939	0<br />
	61	319.182	44.9426	0<br />
	62	306.073	64.0321	0<br />
	63	306.152	66.525	0<br />
	64	311.966	62.5927	0<br />
<br />
Position<br />
	Frame	X pixels	Y pixels	Z pixels<br />
	1	311.5	265.5	0<br />
	2	307.433	275.84	0<br />
	3	301.808	283.5	0<br />
	4	292.668	286.474	0<br />
	5	282.397	289.287	0<br />
	6	272.704	291.487	0<br />
	7	254.486	290.419	0<br />
	8	250.819	285.697	0<br />
	9	247.758	277.926	0<br />
	10	246.646	268.317	0<br />
	11	245.029	256.557	0<br />
	12	244.998	232.203	0<br />
	13	244.778	223.067	0<br />
	14	243.476	216.303	0<br />
	15	243.975	207.284	0<br />
	16	246.545	196.316	0<br />
	17	258.422	172.543	0<br />
	18	262.006	161.274	0<br />
	19	266.625	148.991	0<br />
	20	271.847	136.299	0<br />
	21	276.304	124.619	0<br />
	22	281.275	106.69	0<br />
	23	285.719	101.125	0<br />
	24	288.441	93.5289	0<br />
	25	291.106	85.1594	0<br />
	26	291.846	77.4852	0<br />
	27	296.419	66.3996	0<br />
	28	300.556	60.6543	0<br />
	29	302.896	54.1287	0<br />
	30	304.279	47.8761	0<br />
	31	305.458	41.8742	0<br />
	32	300.866	27.5057	0<br />
	33	300.193	23.0026	0<br />
	34	300.923	18.5946	0<br />
	35	302.859	14.4638	0<br />
	36	310.378	12.441	0<br />
	37	309.718	4.30408	0<br />
	38	310.187	4.45978	0<br />
	39	315.012	8.51385	0<br />
	40	321.269	13.3145	0<br />
	41	325.968	19.5232	0<br />
	42	329.442	28.1383	0<br />
	43	329.201	29.9588	0<br />
	44	329.83	31.7482	0<br />
	45	330.335	32.9407	0<br />
	46	332.457	33.2195	0<br />
	47	330.746	30.6252	0<br />
	48	329.689	30.5594	0<br />
	49	327.537	28.3686	0<br />
	50	319.243	27.2179	0<br />
	51	315.713	28.9509	0<br />
	52	312.11	27.6151	0<br />
	53	312.972	26.0819	0<br />
	54	316.665	25.3618	0<br />
	55	319.322	24.4037	0<br />
	56	314.85	24.6151	0<br />
	57	317.249	29.5436	0<br />
	58	316.656	32.2044	0<br />
	59	315.792	31.838	0<br />
	60	319.288	37.6939	0<br />
	61	319.182	44.9426	0<br />
	62	306.073	64.0321	0<br />
	63	306.152	66.525	0<br />
	64	311.966	62.5927	0<br />
<br />
Scale<br />
	Frame	X percent	Y percent	Z percent<br />
	1	100	100	100<br />
	2	100.007	100.007	100<br />
	3	100.04	100.04	100<br />
	4	99.5561	99.5561	100<br />
	5	98.9582	98.9582	100<br />
	6	98.8253	98.8253	100<br />
	7	98.4999	98.4999	100<br />
	8	98.4933	98.4933	100<br />
	9	98.9975	98.9975	100<br />
	10	98.8675	98.8675	100<br />
	11	98.4478	98.4478	100<br />
	12	97.4553	97.4553	100<br />
	13	97.0718	97.0718	100<br />
	14	97.1245	97.1245	100<br />
	15	97.4871	97.4871	100<br />
	16	97.8601	97.8601	100<br />
	17	98.836	98.836	100<br />
	18	98.912	98.912	100<br />
	19	98.9045	98.9045	100<br />
	20	98.8736	98.8736	100<br />
	21	98.6856	98.6856	100<br />
	22	98.6857	98.6857	100<br />
	23	98.7278	98.7278	100<br />
	24	98.7496	98.7496	100<br />
	25	98.5851	98.5851	100<br />
	26	98.3921	98.3921	100<br />
	27	98.1748	98.1748	100<br />
	28	98.3817	98.3817	100<br />
	29	98.5148	98.5148	100<br />
	30	98.6736	98.6736	100<br />
	31	98.7894	98.7894	100<br />
	32	99.4126	99.4126	100<br />
	33	99.4778	99.4778	100<br />
	34	99.5052	99.5052	100<br />
	35	99.3539	99.3539	100<br />
	36	99.0545	99.0545	100<br />
	37	99.5103	99.5103	100<br />
	38	99.5326	99.5326	100<br />
	39	98.8093	98.8093	100<br />
	40	97.8679	97.8679	100<br />
	41	96.9618	96.9618	100<br />
	42	96.5916	96.5916	100<br />
	43	96.6297	96.6297	100<br />
	44	96.1722	96.1722	100<br />
	45	95.8744	95.8744	100<br />
	46	95.826	95.826	100<br />
	47	96.5919	96.5919	100<br />
	48	96.7293	96.7293	100<br />
	49	96.9793	96.9793	100<br />
	50	97.7622	97.7622	100<br />
	51	97.8678	97.8678	100<br />
	52	98.6827	98.6827	100<br />
	53	98.5465	98.5465	100<br />
	54	98.3884	98.3884	100<br />
	55	97.602	97.602	100<br />
	56	97.9819	97.9819	100<br />
	57	98.5913	98.5913	100<br />
	58	98.5948	98.5948	100<br />
	59	98.7496	98.7496	100<br />
	60	98.1253	98.1253	100<br />
	61	97.7197	97.7197	100<br />
	62	97.9646	97.9646	100<br />
	63	98.0679	98.0679	100<br />
	64	97.8479	97.8479	100<br />
<br />
Rotation<br />
	Frame	Degrees<br />
	1	0<br />
	2	-0.519369<br />
	3	-0.970237<br />
	4	-3.26048<br />
	5	-4.73879<br />
	6	-5.31615<br />
	7	-5.87871<br />
	8	-5.14662<br />
	9	-4.12673<br />
	10	-3.57625<br />
	11	-3.19517<br />
	12	-2.46766<br />
	13	-2.2836<br />
	14	-2.52229<br />
	15	-2.4793<br />
	16	-2.01331<br />
	17	-1.08844<br />
	18	-0.764314<br />
	19	-0.442436<br />
	20	0.0180029<br />
	21	0.15762<br />
	22	0.599845<br />
	23	0.88639<br />
	24	0.90433<br />
	25	0.997563<br />
	26	1.02345<br />
	27	0.354927<br />
	28	-0.0271316<br />
	29	-0.101146<br />
	30	0.211368<br />
	31	0.644909<br />
	32	0.856953<br />
	33	0.801145<br />
	34	0.745757<br />
	35	0.462603<br />
	36	0.86616<br />
	37	0.660163<br />
	38	0.803266<br />
	39	0.836334<br />
	40	0.739809<br />
	41	0.705869<br />
	42	-0.0884206<br />
	43	-0.0948863<br />
	44	0.319806<br />
	45	0.539065<br />
	46	0.41344<br />
	47	-0.569296<br />
	48	-0.290845<br />
	49	0.433561<br />
	50	0.208798<br />
	51	-0.14519<br />
	52	-0.654711<br />
	53	-0.398442<br />
	54	-0.109362<br />
	55	-0.377797<br />
	56	-0.665288<br />
	57	0.265833<br />
	58	0.221428<br />
	59	-0.339298<br />
	60	-0.0457183<br />
	61	0.188552<br />
	62	-1.162<br />
	63	-0.821717<br />
	64	-0.52036<br />
<br />
End of Keyframe Data<br />
</em>]]></description>
		<pubDate>Sun, 05 Jul 2009 01:55:08 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5610</guid>
	</item>
	<item>
		<title>Value From A Tool?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5595</link>
		<description><![CDATA[<pre class='prettyprint'>import PeyeonScript as eyeon

fu = eyeon.scriptapp&#40;&#34;Fusion&#34;&#41;
comp = fu.NewComp&#40;&#41;

mynoise = comp.FastNoise&#40;{ 'Detail'&#58; 1337 }&#41;

#Does not &#34;work&#34;
print mynoise&#91;'Detail'&#93;
print mynoise.Detail
print mynoise.Detail.GetAttrs&#40;&#41;</pre>
<br />
How do i get a value from a tool, i can't figure it out <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/tongue.gif' class='bbc_emoticon' alt=':P' /> ?]]></description>
		<pubDate>Tue, 30 Jun 2009 10:49:35 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5595</guid>
	</item>
	<item>
		<title>Handling Source Footage</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5594</link>
		<description><![CDATA[hey all<br />
anyone know of a handy script, or even some hidden functionality in DF itself, to add footage into a flow from a remote location and automatically have it cache to a local temp folder?]]></description>
		<pubDate>Tue, 30 Jun 2009 10:12:47 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5594</guid>
	</item>
	<item>
		<title>Cordinates From A Tool</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5587</link>
		<description><![CDATA[I can't get this to work with PeyeonScript (it prints the cordination of a selected tool):<br />
<br />
Normal working script:<br />
<br />
<pre class='prettyprint'>flow = comp.CurrentFrame.FlowView
for i, t in comp&#58;GetToolList&#40;true&#41; do
	print &#40;flow&#58;GetPos&#40;t&#41;&#41;

end</pre>
<br />
<br />
PeyeonScript not working:<br />
<br />
<pre class='prettyprint'>import PeyeonScript as eyeon

fu = eyeon.scriptapp&#40;&#34;Fusion&#34;&#41;
comp = fu.GetCurrentComp&#40;&#41;
flow = comp.CurrentFrame.FlowView
t = comp.GetToolList&#40;True&#41;&#91;1.0&#93;
print flow.GetPos&#40;t&#41;</pre>
<br />
<br />
I get an error saying:<br />
<br />
---<br />
File: PeyeonScript.cpp<br />
Line: 434<br />
Condition: False<br />
Multiple Returns<br />
---<br />
<br />
I have tried this in Fusion 5.3 build 55 and Fusion 6, with Python 2.5.<br />
<br />
* Btw, Anyone know how to get the cordinates of the Mouse Cursor in the FlowView ? <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' />]]></description>
		<pubDate>Thu, 25 Jun 2009 22:19:29 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5587</guid>
	</item>
	<item>
		<title>Precise Color Selection For Object Id</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5580</link>
		<description><![CDATA[Hi,<br />
<br />
I'm looking to make a tool (script/macro) which can select a precise rgb value and convert it to alpha.<br />
<br />
The idea is to render from Maya a pass which contains several precise rgb code without antialiasing and be able to select each color by entering its rgb code.<br />
<br />
I don't know if someone has already done that, but it can be interesting because you can have many object in only one pass.<br />
<br />
I tried with the custom tool but obviously I need more knowledge about scripting/expression that I have right now.<br />
<br />
Thanks for your help]]></description>
		<pubDate>Wed, 24 Jun 2009 11:24:41 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5580</guid>
	</item>
	<item>
		<title>Hos Pixel Mapper Plug-in Update</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5575</link>
		<description><![CDATA[Hey folks,<br />
<br />
here's an update to the HoS_PixelMapper plug-in, in case anyone is using it.<br />
<br />
<a href='http://www.svenneve.com/?p=247' class='bbc_url' title='' rel='nofollow'>http://www.svenneve.com/?p=247</a><br />
<br />
Next update will add the ability to have a mirror mode along the black, duplcate and wrap edge modes.]]></description>
		<pubDate>Mon, 22 Jun 2009 14:20:57 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5575</guid>
	</item>
	<item>
		<title>Fuse Graident Control</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5540</link>
		<description><![CDATA[Hey,<br />
<br />
I want to query the colour at a particular position on a gradient control.<br />
<br />
Actually, is there any documentation or examples of using a gradient control in a fuse? I can get one to appear, but not get any meaningful values from it.<br />
<br />
Cheers,<br />
<br />
Nick Deboar<br />
Aardman Animation]]></description>
		<pubDate>Sun, 07 Jun 2009 11:05:11 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5540</guid>
	</item>
	<item>
		<title>Gradient Control In Fuse</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5538</link>
		<description><![CDATA[Hey,<br />
<br />
I have added a gradient contol to my fuse script:<br />
<pre class='prettyprint'>	InR = self&#58;AddInput&#40;&#34;grad&#34;, &#34;grad&#34;, {
		LINKID_DataType = &#34;Gradient&#34;,
		INPID_InputControl = &#34;GradientControl&#34;,
		INP_Integer = true,
		INP_Default = 1.0,
		ICD_Width = 1.0,
		}&#41;</pre>
<br />
Which apears no probs. Now, I need to query what the color value of the gradient is at a point. Eg, it's a gradient from black to white, the middle point (say .5 if it's a normalised value) would be grey. <br />
<br />
Any ideas?<br />
<br />
I just read:<br />
<a href='http://www.pigsfly.com/forums/index.php?showtopic=5071&hl=fuse' class='bbc_url' title=''>http://www.pigsfly.com/forums/index.php?sh...071&hl=fuse</a><br />
Which didn't fill me with confidance. Surly if it's a documented feature, it can acutally be used!<br />
<br />
Cheers,<br />
<br />
Nick Deboar<br />
Aardman animation]]></description>
		<pubDate>Fri, 05 Jun 2009 17:56:05 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5538</guid>
	</item>
	<item>
		<title>Incremental Save, Alla Autodesk Maya</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5536</link>
		<description><![CDATA[Here's a small script that mimics Autodesk Maya incremental saving behavior.<br />
<br />
<a href='http://www.svenneve.com/?p=175' class='bbc_url' title='' rel='nofollow'>http://www.svenneve.com/?p=175</a>]]></description>
		<pubDate>Wed, 03 Jun 2009 23:22:33 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5536</guid>
	</item>
	<item>
		<title>Lua Cross Product?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5521</link>
		<description><![CDATA[Does anyone know if there's a cross product function in Fusions scripting (for a prototyping Fuse)<br />
<br />
I can't seem to find any, i found some info on the lua-users wiki (<a href='http://lua-users.org/wiki/PointAndComplex' class='bbc_url' title='' rel='nofollow'>http://lua-users.org/wiki/PointAndComplex</a>), but it seems i need to import a classes system and overload the default operators, not sure this is possible (or that i understand it for that matter.)<br />
<br />
Anyone ever run into this before and has some experience with it?]]></description>
		<pubDate>Wed, 27 May 2009 14:04:58 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5521</guid>
	</item>
	<item>
		<title>Hos Pixel Mapper</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5520</link>
		<description><![CDATA[This is what i have been working on this weekend, trying to figure out the SDK and subsampling, learning it by creating a plug-in that duplicates and adds some features to the Deep Pixel Texture plugin<br />
<br />
Hope someone has some use for it, despite it being 'somewhat' obsolete <img src='http://www.pigsfly.com/forums/public/style_emoticons/default/biggrin.gif' class='bbc_emoticon' alt=':D' /><br />
<br />
plug-in post entry : <a href='http://www.svenneve.com/?p=149' class='bbc_url' title='' rel='nofollow'>http://www.svenneve.com/?p=149</a>]]></description>
		<pubDate>Wed, 27 May 2009 13:35:17 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5520</guid>
	</item>
	<item>
		<title>Maya 2dmvtoxik Render Pass To Rsmb Normalized Pass Plug-in</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5482</link>
		<description><![CDATA[Here's a link to our Maya 2D Motion Vector (2dMVToxik) to ReelSmart Motion Blur plug-in.<br />
<br />
Basically it normalizes the new 2d Motion Vector passes that Maya since version 2009 supports, making the use for La Maison's lm2Dmv obsolete.<br />
<br />
<a href='http://www.svenneve.com/?p=98' class='bbc_url' title='' rel='nofollow'>http://www.svenneve.com/?p=98</a>]]></description>
		<pubDate>Wed, 13 May 2009 22:29:15 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5482</guid>
	</item>
	<item>
		<title><![CDATA[Multiple Node Passthrough Toggle With 'selection Set']]></title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5481</link>
		<description><![CDATA[Hi folks, created a small script to easily toggle large selections of nodes that have been 'tagged' as toggable (a bit like using a selection set)<br />
<br />
Link to script:<br />
<a href='http://www.svenneve.com/?p=55' class='bbc_url' title='' rel='nofollow'>http://www.svenneve.com/?p=55</a>]]></description>
		<pubDate>Wed, 13 May 2009 22:19:10 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5481</guid>
	</item>
	<item>
		<title>Change Codec For Quicktime</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5456</link>
		<description><![CDATA[I want to change codec. so I made saver. and select type of quciktime.<br />
<br />
and, I type expression in console.<br />
<br />
==Saver1.QuickTimeMovies.Compression:GetAttrs()<br />
<br />
I got data~! about under~<br />
<br />
table: 03384EC0<br />
<p class='bbc_indent' style='margin-left: 40px;'>INPN_MaxScale = 1<br />
	INPS_DataType = FuID<br />
	INPID_InputControl = ComboIDControl<br />
	INPB_Connected = false<br />
	INPI_PC_ControlGroup = 0<br />
	INPB_IC_Visible = false<br />
	INPN_Default = 0<br />
	INPB_SendRequest = false<br />
	INPI_IC_ControlGroup = 0<br />
	INPN_UserData2 = 0<br />
	INPB_Passive = false<br />
	INPB_PC_Visible = false<br />
	INPB_Integer = false<br />
	INPN_MinScale = 0<br />
	INPB_DoNotifyChanged = true<br />
	INPB_IC_StepRestrict = false<br />
	INPN_MinAllowed = -1000000<br />
	INPB_Required = true<br />
	INPI_UserData = 0<br />
	INPB_Active = false<br />
	INPB_External = false<br />
	INPI_NumSlots = 1<br />
	INPS_Name = Compression<br />
	INPIDT_ComboControl_ID = table: 0392F3E0<br />
		<p class='bbc_indent' style='margin-left: 40px;'>1 = Planar RGB_8BPS<br />
		2 = Sorenson Video_SVQ1<br />
		3 = Sorenson Video 3_SVQ3<br />
		4 = BMP_WRLE<br />
		5 = H.264_avc1<br />
		6 = Cinepak_cvid<br />
		7 = DV/DVCPRO - NTSC_dvc <br />
		8 = DV - PAL_dvcp<br />
		9 = DVCPRO - PAL_dvpp<br />
		10 = H.261_h261<br />
		11 = H.263_h263<br />
		12 = JPEG 2000_mjp2<br />
		13 = Motion JPEG A_mjpa<br />
		14 = Motion JPEG B_mjpb<br />
		15 = PNG_png <br />
		16 = TGA_tga <br />
		17 = TIFF_tiff</p>
	INPI_IC_DisplayedPrecision = 0<br />
	INPN_ICD_Width = 0<br />
	INPS_ICS_ControlPage = Format<br />
	INPI_IC_Steps = 0<br />
	INPN_IC_Center = 0<br />
	INPB_OpMenu = false<br />
	INPN_DefaultX = 0<br />
	INPI_PC_ControlID = 0<br />
	INPB_Disabled = false<br />
	INPS_ID = QuickTimeMovies.Compression<br />
	INPN_MaxAllowed = 1000000<br />
	INPB_InteractivePassive = false<br />
	INPN_DefaultY = 0<br />
	INPI_PC_GrabPriority = 0<br />
	INPI_SetupPriority = 0<br />
	INPI_SubType = 0<br />
	INPB_PC_FastSampleRate = false<br />
	INPB_InitialNotify = false<br />
	INPB_ForceNotify = false<br />
	INPN_UserData3 = 0<br />
	INPB_IC_TimeType = false<br />
	INPI_IC_ControlPage = 4<br />
	INPI_Priority = 0<br />
	INPI_IC_ControlID = 0</p>
<br />
<br />
<br />
next,   I have used SetAttrs() function.<br />
<br />
Saver1.QuickTimeMovies.Compression:SetAttrs({INPIDT_ComboControl_ID = ?????})<br />
<br />
I didn't write expression. (about ????).  help me~]]></description>
		<pubDate>Fri, 08 May 2009 08:50:36 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5456</guid>
	</item>
	<item>
		<title>Bug In Copy To Clipboard?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5455</link>
		<description><![CDATA[heyho,<br />
<br />
if i do<br />
<pre class='prettyprint'>pasting = comp&#58;Copy&#40;comp&#58;GetToolList&#40;&#41;&#41;

dump&#40;fusion&#58;GetClipboard&#40;&#41;&#41;</pre>
<br />
it seems that fusion doesn't copy all tools to the clipboard. from my test it does not copy:<br />
<ul class='bbc'><li>3d camera<br /></li><li>3d projector<br /></li><li>all particles tools</li></ul>
<br />
is this a bug or did i something the wrong way?<br />
<br />
(copying the tools with ctrl+c and the pasting/dumping per script works correct)]]></description>
		<pubDate>Thu, 07 May 2009 23:10:09 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5455</guid>
	</item>
	<item>
		<title>Library:additem()</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5421</link>
		<description><![CDATA[Hi fusioner<br />
<br />
I want additem(file) to Bin Server<br />
but I don't know eyeonscript expression this case.<br />
<br />
<br />
<br />
I wrote part of script~<br />
<br />
es = eyeonServer("192.168.1.30")   -- bin server ip<br />
lib = es:OpenLibrary("Library","write","write")    -- acess binserver librar, Id, password<br />
lib:AddItem({Parent = rootFolder, Type = "BinFile", FileName = "Z:&#092;testfile.ext", Name = test})<br />
<br />
and   my binserver tree constrution is~<br />
<br />
Library on servername<br />
  *HelpSystem<br />
  *Macro<br />
  *Project<br />
     - shot01<br />
<br />
I want create icon shot01 folder.(under Project folder)<br />
<br />
but I don't know How to using commad "Parent = "<br />
<br />
Help me~! please~]]></description>
		<pubDate>Fri, 24 Apr 2009 05:25:02 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5421</guid>
	</item>
	<item>
		<title>Import/merge A .setting Or .comp File Into Another Comp?</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5407</link>
		<description><![CDATA[Hi,<br />
<br />
Scripting against an interactive session of Fusion, I can: <br />
<br />
-Opened filehandle and read .setting file in as text<br />
-eyeon.setclipboard to this text<br />
-clear the current selection through the FlowView<br />
-comp:Paste()<br />
-comp:GetToolList(true) to retrieve the nodes just pasted in<br />
-connect these nodes into my comp as needed<br />
<br />
<br />
Is there any way to achieve the same result when scripting against RenderNode or ConsoleSlave.  As far as I can tell attempting to access FlowView or Comp:Paste() without a GUI causes Fusion to crash.  (Admittedly, it makes sense that these are unavailable. )<br />
<br />
We are trying to make Groups of nodes for per-shot Color Corrections that we can dynamically drop into script-controlled Renders on the farm.<br />
<br />
<br />
Any suggestions you can make would be much appreciated!<br />
<br />
<br />
Thanks,<br />
Paul Hudson<br />
CafeFX]]></description>
		<pubDate>Fri, 17 Apr 2009 09:27:19 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5407</guid>
	</item>
	<item>
		<title>Moving Flow View To Given Coordinates</title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5406</link>
		<description><![CDATA[Is it possible to scroll the flow view so the currently selected tool (or any tool for that matter) is centered? The FlowView object seem to lack such a method...<br />
<br />
cheers<br />
Stefan]]></description>
		<pubDate>Fri, 17 Apr 2009 08:15:23 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5406</guid>
	</item>
	<item>
		<title><![CDATA["replace Tool" Via Scripting]]></title>
		<link>http://www.pigsfly.com/forums/index.php?showtopic=5405</link>
		<description><![CDATA[Just out of curiousity is there a way to Launch the Replace Tool command via scripting?<br />
<br />
<br />
Thanks,<br />
Paul]]></description>
		<pubDate>Thu, 16 Apr 2009 23:50:34 +0000</pubDate>
		<guid>http://www.pigsfly.com/forums/index.php?showtopic=5405</guid>
	</item>
</channel>
</rss>
