[JW Lua] Creating FCBeatChartElements for a measure without FCBeatChartElements ?

Jan Angermüller jan at angermueller.com
Fri Jun 3 11:47:51 CEST 2016


Jari,

if note spacing has not been applied to a measure, then no beat chart 
elements exists for the measure.

How can I create EDITABLE beat charts for that measure from within JW Lua ?

I was able to create beat charts indeed and it also works visually in 
the score.

BUT: when I open the right-click mouse dialog, the "Edit Beat Chart" 
option is not available for that measure.
So probably there is a flag missing, that needs to be set internally to 
tell Finale, that there are indeed beat charts available.
Maybe I need something like "SetInitElement" on the first new beat chart ?

I also noticed an interesting difference on 
MenuCommand(NOTE_MENUCMD_NOTESPACING) compared to Utilities->Music 
Spacing->Apply Music Spacing. The latter makes the "Edit Beat Option" 
visible, the first doesn't.

The same goes for my second version creating the FCBeatChartElement in 
JW Lua through FCBeatChartElement:SaveNew(...) and ...RebuildAll... It 
works fine visually, but the elements are not editable through "Edit 
Beat Option" afterwards.

Best,
Jan



More information about the JWLua mailing list