293 posts
  • 6 Years of Membership
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
+2 more
ivezicm
says

Is it possible to determine “zero” position so each time you click reset in transform properties it would reset to specific value.

For example if you hit reset under transform options of a created null i wand it to move to x=200 and y = 543,5. Then I move it again and then reset and it goes to that specific value.

Thnx for answers.

288 posts
  • Trendsetter
  • Weekly Top Seller
  • Featured Author
  • Author Level 6
+8 more
johnnybd
says

how about creating another null moving it to x=200 y 543.5, then, parenting the original null to the new one, then hitting Reset? It should move your null to 0,0 of it’s parent, which will be 200,543.5

293 posts
  • 6 Years of Membership
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
+2 more
ivezicm
says

thnx for reply, and yup I did something like that.

5327 posts
  • Elite Author
  • Moderator
  • Weekly Top Seller
  • Top Monthly Author
+13 more
felt_tips
Moderator
says

how about creating another null moving it to x=200 y 543.5, then, parenting the original null to the new one, then hitting Reset? It should move your null to 0,0 of it’s parent, which will be 200,543.5

When you hit reset, the anchorPoint goes to [layer.width, layer.height]/2, the position goes to [comp.width, comp.height]/2, regardeless of parenting, so that wouldn’t work unless you offset the null’s anchorPoint to [comp.width, comp.height]/(-2).

But even then, the reset layer’s anchorPoint may jump, which is undesirable.

Actually, this might be the perfect case for a simple script.

288 posts
  • Trendsetter
  • Weekly Top Seller
  • Featured Author
  • Author Level 6
+8 more
johnnybd
says

@felt – you’re absolutely right, I should’ve written to type in 0,0 on the null that’s being parented to the other instead of “Reset”.

293 posts
  • 6 Years of Membership
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
+2 more
ivezicm
says

Actually, this might be the perfect case for a simple script.

If you write it, will you share it, pretty pretty please.

5327 posts
  • Elite Author
  • Moderator
  • Weekly Top Seller
  • Top Monthly Author
+13 more
felt_tips
Moderator
says


Actually, this might be the perfect case for a simple script.
If you write it, will you share it, pretty pretty please.

If you ask the question in the expressions thread.... and if I get time. :)

by
by
by
by
by
by