Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro Scripting parent track’s motion

  • Scripting parent track’s motion

    Posted by Dr. nagy Ferenc on December 9, 2007 at 4:59 pm

    Hello,

    is there any way to access the “Parent motion” keyframe values via scripting? It’s also called “Parent transform” in the timeline but I found nothing relevant in the API Summary.

    Thanks in advance.

    Ron Newsham replied 16 years, 2 months ago 3 Members · 5 Replies
  • 5 Replies
  • Edward Troxel

    December 10, 2007 at 2:15 pm

    Just off the top of my head (and totally untested), I would thing you would just use the Track Motion keyframes like you did in your last script – except do them on a parent track.

    Edward Troxel
    JETDV Scripts

  • Dr. nagy Ferenc

    December 10, 2007 at 7:15 pm

    Thanks for your response. I tried it that way but it actually sets the track’s motion and does not affect the child tracks.

    I’m afraid there is no solution for this problem but still it would be good if anyone could confirm that.

  • Edward Troxel

    December 10, 2007 at 7:33 pm

    I can find where you set the parent compositing mode but don’t see anything explicitly related to parent track motion.

    Edward Troxel
    JETDV Scripts

  • Dr. nagy Ferenc

    December 13, 2007 at 5:47 pm

    It seems that this scripting feature is not implemented yet — maybe it will be in Vegas 9.

  • Ron Newsham

    March 4, 2010 at 11:38 pm

    It seems that you can set parent motion in Vegas 8 (and I guess 9) but it does not seem to be documented:

    TrackMotionKeyframe kf = aniTrack.ParentTrackMotion.InsertMotionKeyframe(TStart);
    kf.Type = VideoKeyframeType.Smooth;
    kf.PositionX = xStart;
    kf.PositionY = yStart;
    kf.PositionZ = 5000;
    kf.RotationZ = angle;

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy