Skip to main content
Participant
March 12, 2023
Answered

Modifying the stroke property of several clone paintings at once

  • March 12, 2023
  • 1 reply
  • 303 views

Hi,

I'm a complete noob with expressions and I'd like to modify the stroke width of more than 100 clone paintings of a composition layer at once. I just would like to multiply all them by a set factor of 2.13333. Each clone width may be different. Is there a way to do it easily ?

Thank you !

Julie

This topic has been closed for replies.
Correct answer Rick Gerard
  • Select the layer with the brush (Clone) strokes you want to modify
  • Type dia in the timeline search field to reveal the diameter setting for every brush in the layer
  • Add this expression to the first Diameter value by Alt/Option-clicking on the stopwatch for Diameter
    value * 2.133333​
  • That will increase the size of the brush by a little more than 2 times
  • Use the Edit menu or right click on the Diameter property and select Copy Expression Only
  • Drag a selection around all of the Diameter properties and paste

The tilde key (~), Will fill eht screen with the timeline and make it easier to select all of the Diameter properties in the timeline.

 

That's all there is to it. 

1 reply

Rick GerardCommunity ExpertCorrect answer
Community Expert
March 13, 2023
  • Select the layer with the brush (Clone) strokes you want to modify
  • Type dia in the timeline search field to reveal the diameter setting for every brush in the layer
  • Add this expression to the first Diameter value by Alt/Option-clicking on the stopwatch for Diameter
    value * 2.133333​
  • That will increase the size of the brush by a little more than 2 times
  • Use the Edit menu or right click on the Diameter property and select Copy Expression Only
  • Drag a selection around all of the Diameter properties and paste

The tilde key (~), Will fill eht screen with the timeline and make it easier to select all of the Diameter properties in the timeline.

 

That's all there is to it. 

Participant
March 13, 2023

Thank you very much for your kindness, Rick, it worked perfectly !

Julie