Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro OFX Scripting Problem

  • OFX Scripting Problem

    Posted by Matt Carlson on April 16, 2013 at 9:59 pm

    I am unclear on the syntax of accessing an OFXParameter value in a script. I can cycle through the parameters

    foreach(OFXParameter op in videvent.Effects[x].OFXEffect.Parameters)

    but the resulting “op” does not have the definitions of Default, Value, and the keyframes list from the abstract parameter class. op.Value does not exist as a property anywhere that I can find in the derived class definitions.

    Can anyone point me the way to the proper syntax?
    Thanks.

    The Vegas scripting API documentation really should have taken the time to write an actual syntax example for each item.

    Syntax:
    abstract class OFXParameter : OFXParameter
    Public Properties: Summary:
    TValue Default Get the default value for the parameter.
    TValue Value Get or set the value for the parameter.
    OFXKeyframes Keyframes Get the list of keyframes for the parameter.

    This is completely circuitous and I can not decipher an entry point.

    Matt Carlson replied 13 years, 3 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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