Skip to main content
Inspiring
August 1, 2010
Question

Scripting the Liquify Filter

  • August 1, 2010
  • 1 reply
  • 2723 views

I'd like to know if anyone has found a way to have a script run the Liquify Filter, load a mesh, and accept.

Sometimes when I work on a file, I have multiple layers and I need to use the Liquify Filter to alter something, but it has to be identical on each layer. The way I'm doing it now is to run Liquify on the merged copy of all layers and save the mesh, then go through each layer and run Liquify and load the mesh then OK.

A script to do this would be nice. Script Listener only outputs up to running Liquify and doesn't output loading a mesh.

On another note, while using XTools to generate the script from the action, I noticed something odd. I have a few action groups. One is named Workflow and that's at the top. Another is named Tools and that's down the list further. In Workflow I have an action named "Liquify" and to get the code, I make an action named "Liquify" within the Tools group. When I ran the XTools "ActionToJavascript" action and chose Tools:Liquify, it actually converted the Liquify action within the Workflow group. I did this twice, then changed the name of the action and then it worked.

Thank you.

This topic has been closed for replies.

1 reply

Inspiring
August 1, 2010

Are you getting the action to record the Liquify filter setttings?

When I try although the action has a step labeled 'Liquify' it does not do anything. If I run the action on a different layer there is no change to the layer.

jugenjuryAuthor
Inspiring
August 1, 2010

No. The only thing I can get the action to do is open up the Liquify Filter dialog. From that point on I have to do everything manually. I can't figure out how to pull anything from it nor input anything into it.

JJMack
Community Expert
Community Expert
August 2, 2010

jugenjury wrote:

The only thing I can get the action to do is open up the Liquify Filter dialog. From that point on I have to do everything manually. I can't figure out how to pull anything from it nor input anything into it.

Even if you could pull setting from its dialog and set its settings.  I don't think there is a way to script brush strokes script just like an actions can not record brush strokes. So if brush strokes must be done manually what real value would the ability to program the Liquify Filter dialog be?

JJMack