[JW Lua] Detecting clef changes

Jan Angermüller jan at angermueller.com
Thu Aug 14 16:38:41 CEST 2014


Jari,

FCCellFrameHold:CalcClefChange() seems to return true
for EACH measure that continues with the clef change
AFTER the measure with the actual clef change.
For example, if we have a clef change (before barline)
followed by four measures without clef change,
FCCellFrameHold:CalcClefChange() returns true in each
of these 4 measures, although the clef change is
only visible in the first measure.

In the online documentation it says:
Only one FCCellFrameHold 
<http://www.finaletips.nu/frameworkref/class_f_c_cell_frame_hold.html> 
data record should exists for each cell and *only at clef changes*.

But the FCCellFrameHold record also seems to exist
for the measures AFTER the clef change.
FCCellFrameHold:Load() returns true in all 4 measures.

Is that correct ?

Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20140814/d4795d8d/attachment.htm>


More information about the JWLua mailing list