[JW Lua] Defaults for multi-measure rest creation

Jan Angermüller jan at angermueller.com
Thu Sep 3 16:09:52 CEST 2015


Hi Jari,

a nice to have feature for FCMultiMeasureRest would be, filling all 
properties automatically with the values from FCMultiMeasureRestPrefs 
when creating a new FCMultiMeasureRest object. Then creating new 
multi-measure rests would (probably) only require the start and end 
measure and calling the Save() function. Now it's a bit tedious with 
crawling through all the properties from FCMultiMeasureRestPrefs.

I haven't checked how it's done in other classes that have properties 
that also have default values in a prefs-class. But maybe a method like 
"FillWithDefaults()" would be great for these cases if the 
initialization of the properties is not done directly in the class creation.

All the best,
Jan




More information about the JWLua mailing list