Jump to content


Photo

Wish- Search Engine


  • Please log in to reply
30 replies to this topic

#1 artfart3d

artfart3d

    Member Pig

  • Adv Members
  • PipPip
  • 21 posts

Posted 11 September 2009 - 06:11 AM

Hi Fusioneers,

I wish there was tiny panel on top of the Flow Panel similar to Apple-Mac like Search box. Enabling artist to search any Node/Nodes by NodeType (Blur, Color corrrection etc) - Name (Begining with, Contains etc) - (SearchFilter by) Animated/NonAnimated etc.

Autodesk 3DSMax has very nice search and select option.

Any more useful options are also welcome.



cheers
ShaShank

#2 Maggi

Maggi

    Member Pig

  • Adv Members
  • PipPip
  • 28 posts

Posted 11 September 2009 - 06:16 AM

Hi ShaShank,

make sure your flow window is active and try Ctrl-f ... ;)

Cheers,
Maggi

#3 artfart3d

artfart3d

    Member Pig

  • Adv Members
  • PipPip
  • 21 posts

Posted 11 September 2009 - 06:34 AM

Hi ShaShank,

make sure your flow window is active and try Ctrl-f ... ;)

Cheers,
Maggi


hey Maggi thanx for the quick reply.

I'll tell u my problem, I have renamed a lot of ColorCorrection nodes as per the use, but now I wanna render the comp Minus All the ColorCorrection nodes. Its teeeeeedious to find in my huge comp dude... :(

Like wise I wanna select Blur type Nodes which have Names that Includes for e.g. Man ( Man_Head, Man_Hand_, ManLeg etc).

Can I do this anyhow (easily)? :)

#4 Maggi

Maggi

    Member Pig

  • Adv Members
  • PipPip
  • 28 posts

Posted 11 September 2009 - 06:59 AM

unfortunately the search doesn't seem to be able to search for names, but for tools only

I guess, your easiest bet is to search for "blur" and hit F3 (search next) until your wanted tool is high lighted

HTH,
Maggi

#5 artfart3d

artfart3d

    Member Pig

  • Adv Members
  • PipPip
  • 21 posts

Posted 11 September 2009 - 07:06 AM

thanx Maggi, but I wish the search was better like I wished earlier....

#6 protean

protean

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 230 posts

Posted 11 September 2009 - 10:07 AM

thanx Maggi, but I wish the search was better like I wished earlier....


If I understand what you want then I think you need to script it. There may already be a script that will change the PassThrough option but I'm not aware of it so.....

Of course you need to change the file extension to eyeonscript :)

Attached Files



#7 artfart3d

artfart3d

    Member Pig

  • Adv Members
  • PipPip
  • 21 posts

Posted 11 September 2009 - 10:30 AM

Hey Protean, Thank you for the script.
It works nicely for Blur & ColorCorrection nodes, and that too for all nodes throughout.

Where as I wanted to select by any given node type, and that too filterable by text/name. For e.g. select all Blur nodes, containing name "Man" leaving aside rest all blur nodes which does not contain name "man".


cheers
ShaShank

#8 Tilt

Tilt

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 2,137 posts

Posted 11 September 2009 - 10:48 AM

Hey Protean, Thank you for the script.
It works nicely for Blur & ColorCorrection nodes, and that too for all nodes throughout.

Where as I wanted to select by any given node type, and that too filterable by text/name. For e.g. select all Blur nodes, containing name "Man" leaving aside rest all blur nodes which does not contain name "man".  


cheers
ShaShank


This is not tested because I'm not in front of Fusion right now. But you might be after something like this:



toolsel = {"ColorCorrector", "Blur"}

ret = AskUser("AX PassTrough", {	
    {"tool", "Dropdown", Options = toolsel},

    { "namefilter", "Text", Lines = 1},
    {"PassThrough",  "Checkbox", Default = 1}
	})

if ret then
   for i, v in composition:GetToolList((ret.Select)) do
      id = v:GetAttrs().TOOLS_RegID

      local nameOK = true

      if(ret.namefilter ~= nil and ret.namefilter ~= "") then

         -- if text was entered into the name filter then it has to match

         if string.find(v:GetAttrs().TOOLS_Name, namefilter, 1, true) == nil then

            nameOK = false

         end

      end

      if (id == toolsel[ret.tool+1] and nameOK) then
         if ret.PassThrough == 1 then
 			         v:SetAttrs({TOOLB_PassThrough = true})
 		       else
 			          v:SetAttrs({TOOLB_PassThrough = false}) 
 		       end
 	    end
		
   end
end



The toolsel array can be extended to any tool, just look at the Add Tool script that comes with fusion, it shows a list of every tool.




cheers

Stefan

#9 protean

protean

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 230 posts

Posted 11 September 2009 - 10:57 AM

Hey Protean, Thank you for the script.
It works nicely for Blur & ColorCorrection nodes, and that too for all nodes throughout.

Where as I wanted to select by any given node type, and that too filterable by text/name. For e.g. select all Blur nodes, containing name "Man" leaving aside rest all blur nodes which does not contain name "man".


sure, I wasn't sure if you would finish the script :) It's not the cleanest script but I'm pretty sure there's another way to do it anyway................

Attached Files



#10 protean

protean

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 230 posts

Posted 11 September 2009 - 10:59 AM

(snip code)


The toolsel array can be extended to any tool, just look at the Add Tool script that comes with fusion, it shows a list of every tool.




cheers

Stefan


I think yours is nicer :)

#11 artfart3d

artfart3d

    Member Pig

  • Adv Members
  • PipPip
  • 21 posts

Posted 11 September 2009 - 12:46 PM

yes you guys have cracked it! :t

Thanx stefan & protean.

Unfortunately, I am not good in scripting stuff, but whatever stefan did without Fusion open was also nice.

you guys rock... :) thanx all of you!

I know this script can be extended to its maximum limit.
All Fusioneers are welcome to add-in & make it more powerful...


cheers!
ShaShank

#12 theajo

theajo

    Advanced Pig

  • Adv Members
  • PipPipPip
  • 31 posts

Posted 12 September 2009 - 07:30 PM

yes you guys have cracked it! :t

Thanx stefan & protean.

Unfortunately, I am not good in scripting stuff, but whatever stefan did without Fusion open was also nice.

you guys rock... :) thanx all of you!

I know this script can be extended to its maximum limit.
All Fusioneers are welcome to add-in & make it more powerful...


cheers!
ShaShank



Here is my little contribution to the script. :rolleyes:
All the tools are listed in the combobox.
No need of extending the tools list manually.
-T

#13 theajo

theajo

    Advanced Pig

  • Adv Members
  • PipPipPip
  • 31 posts

Posted 12 September 2009 - 07:33 PM

oops.. I couldn't attach the file in my previous post..
okie here is the code..

Attached Files



#14 artfart3d

artfart3d

    Member Pig

  • Adv Members
  • PipPip
  • 21 posts

Posted 12 September 2009 - 08:26 PM

oops.. I couldn't attach the file in my previous post..
okie here is the code..


Awesome, thanx theajo! :)

The whole attempt is to build a script which will give more power to search capability and select, and then do all possible frequently required task. (like Passthrough, Highlight, Color It etc etc.)

#15 protean

protean

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 230 posts

Posted 13 September 2009 - 03:02 AM

The whole attempt is to build a script which will give more power to search capability and select, and then do all possible frequently required task. (like Passthrough, Highlight, Color It etc etc.)


there is already a script to do that but I don't think it does 'pass through'

http://www.vfxpedia....=Useful_Scripts

it's called BatchChanger

I also think the script I started probably needs cleaned up before anyone builds anything more to it :)

John




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users