[JW Lua] Relation between FCAccidentalMod and its corresponding FCNote ... fixed

Jan Angermüller jan at angermueller.com
Fri Feb 5 11:15:49 CET 2016


Fixed ... I overlooked FCAccidentalMod:LoadAt(FCNote).

Am 04.02.2016 um 18:11 schrieb Jan Angermüller:
> Jari,
>
> how do I get a relation between an FCAccidentalMod and its 
> corresponding FCNote ?
> I can create the FCAccidentalMods (and then FCAccidentalMod) from an 
> FCNoteEntry, e.g.:
> local accidentalmods=finale.FCAccidentalMods(FCNoteEntry)
>
> But: if for example an FCNoteEntry has five notes (i.e. 5x FCNote) of 
> which four have an accidental of which two have an accidental mod, how 
> do I know which accidental has which accidental mod.
> I thought FCAccidentalMod.ItemInci might help, but ItemInci relates to 
> the FCAccidentalMod counter and not to the FCNote counter.
>
> Something like FCAccidentalMod:GetNoteID(eNoteID...) or even better 
> FCAccidentalMod:GetNote(FCNote ...) would probably help.
>
> Or am I missing something ?
>
> Best,
> Jan
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>





More information about the JWLua mailing list