Skip to main content
IVGu
Participating Frequently
July 1, 2022
Question

Automation Blocks - ScriptUI List/Treeview for selected shape layers

  • July 1, 2022
  • 2 replies
  • 1046 views

Hi I was wandering if it is possible to create a dockable script using Automation blocks that will generate a treeview of shapes in a shape layer, and then allow me to perform certain operations on the ones that I can manually select in the treeview...

This topic has been closed for replies.

2 replies

Mathias Moehl
Community Expert
Community Expert
July 1, 2022

Here is an example, where I change various tapering options of the selected shape layer:

https://twitter.com/mamoworld/status/1498630597689892871?s=20&t=D7ffTJXFn3t7TIIBrlo3QQ

 

The block script simply loops over all properties of the shape layer and then changes the properties only, if they have a particular name.

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
IVGu
IVGuAuthor
Participating Frequently
July 2, 2022

Essentially what I would like to do is have the ability reset position/anchor properties of the shapes that I select and see the nesting structure of the shapes. Additionally I would like to be able to reset the shapes origin to be centered as well that would involve adding an expression to the path property and then remove it leaving the post expression value... but these operations I would like to be able to perform only on the selected shapes/layers... 

Mathias Moehl
Community Expert
Community Expert
July 1, 2022

Hi,

 

so far, Automation Blocks does not support dockable UIs - although this is an interesting feature request!

Also, the Automation Blocks UI supports dropdown lists, but no tree views at the moment.

 

What kinds of operations would you like to perform on the shapes?

What you could do with Automation Blocks is to loop over all shapes and then do something with only the ones

- whose name contains a given search word

- which are selected

for example.

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects