How can I gen value from RulerFormat.MeasuresAndBeats? kzheludkov wrote on 2/21/2017, 2:49 AM var beats = RulerFormat.MeasuresAndBeats; But, its shows a name instead a number. Back to post
Comments NickHope wrote on 2/25/2017, 2:32 AM @VEGASDerek This might interest you. 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. 1