[JW Lua] More severe problems with FCMusicRegion

Jan Angermüller jan at angermueller.com
Thu Aug 10 13:29:51 CEST 2017


Jari,

there seems to be a severe problem with FCMusicRegion.
It's not possible to do algorithmics with FCMusicRegion anymore before 
every parameter of FCMusicRegion is set. I think that doesn't make sense 
as there may be dependencies before all region values are set, as here:

Test code:
local musicregion=finale.FCMusicRegion()
musicregion.StartMeasure=15
if musicregion.StartMeasure>10 then
     musicregion.EndMeasure=musicregion.StartMeasure
end
print(musicregion.StartMeasure,musicregion.EndMeasure)

Running [Unnamed Script] ======>
0 0    --should print 15 15
<======= [Unnamed Script] succeeded (Processing time: 0.000 s).

Or in other words: it would be very much work to fix every FCMusicRegion 
call to be conform with this new standard.

Best,
Jan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20170810/11af9269/attachment.html>


More information about the JWLua mailing list