Skip to main content
Participant
July 5, 2022
Answered

Can i reset layer properties and make position 0,0 with Automation Blocks ?

  • July 5, 2022
  • 2 replies
  • 472 views

Hi, I want to automate the following steps in 1-click using Automation Blocks :

1. Make layer 3D.

2. Reset layer properties.

3. Make postion 0,0,0.

 

This topic has been closed for replies.
Correct answer Mathias Moehl

HI Kevin,

I am sorry for the late reply - I must have overlooked your request somehow.

 

For step 2, which properties do you want to reset exactly? AB does not support a "reset to default value", since the scripting API of Ae does not have a way to retrieve the default value. But if you want to process specific properties and know the value you want to set them to, it is definitely possible.

 

Here is a video I just recored for you to explain how to write such a script:

https://www.youtube.com/watch?v=phMs7LeMUP4

 

And here is the final script download:

https://www.dropbox.com/s/gpl14zc9jyzdir2/AB%20Make%20Selected%20Layers%203D%20and%20Set%20Position.xml?dl=0

 

 

 

 

2 replies

Mathias Moehl
Community Expert
Mathias MoehlCommunity ExpertCorrect answer
Community Expert
August 4, 2022

HI Kevin,

I am sorry for the late reply - I must have overlooked your request somehow.

 

For step 2, which properties do you want to reset exactly? AB does not support a "reset to default value", since the scripting API of Ae does not have a way to retrieve the default value. But if you want to process specific properties and know the value you want to set them to, it is definitely possible.

 

Here is a video I just recored for you to explain how to write such a script:

https://www.youtube.com/watch?v=phMs7LeMUP4

 

And here is the final script download:

https://www.dropbox.com/s/gpl14zc9jyzdir2/AB%20Make%20Selected%20Layers%203D%20and%20Set%20Position.xml?dl=0

 

 

 

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
nishu_kush
Legend
July 5, 2022

Welcome to the community, Kevin.

That could be a great feature request. Please post your thoughts on the After Effects UserVoice so that others can add their vote: https://adobe-video.uservoice.com/forums/911311-after-effects

Feel free to reach out if there are any other questions.

 

Thanks,

Nishu