Comments

jetdv wrote on 4/18/2017, 2:53 PM

That's just the ruler format. What are you expecting to get from that? You might look at the cursor location to get the value where the cursor currently resides.

VEGASDerek wrote on 4/19/2017, 10:20 AM

jetdv is correct.

This is an enumeration, not a value. Removing the var...this is basically

RulerFormat beats = RulerFormat.MeasuresAndBeats;

The RulerFormat enumeration is defined as follows:

public enum RulerFormat
{
    Unknown,
    Samples,
    Time,
    Seconds,
    TimeAndFrames,
    AbsoluteFrames,
    MeasuresAndBeats,
    FeetAndFrames16mm,
    FeetAndFrames35mm,
    SmpteFilmSyncIVTC,
    SmpteFilmSync,
    SmpteEBU,
    SmpteNonDrop,
    SmpteDrop,
    Smpte30,
    AudioCDTime,
    Nanoseconds,
    Microseconds
}

Setting this value does the same thing on the timeline as selecting the Options/Ruler Format menu from within Vegas.