[JW Lua] createAccidentalMods method does not exist

Jan Angermüller jan at angermueller.com
Mon May 30 16:10:34 CEST 2016


If e is the FCNoteEntry, then do:

     local nhmods=finale.FCAccidentalMods(e)
     nhmods:LoadAll()
     if nhmods.Count > 0 then ....


Am 30.05.2016 um 16:01 schrieb Robert Wildling:
> The Class Browser, when checking for FCAccidentalsMods, lists this 
> example:
>
> for noteentry in eachentry(finenv.Region()) do
>    local accidentalmods = noteentry:CreateAccidentalMods()
>    -- Do something with 'accidentalmods' here
>    for am in each(accidentalmods) do
>        -- Do something with 'am' (of the 'FCAccidentalMod' class) here
>    end
> end
>
>
> Checking for the method "CreateAccidentalMods()" under FCNoteEntry 
> (and in the online PDF framework documentation) does not reveal any 
> such method.
>
> Am I doing sth wrong or was that very method replaced with sth else?
>
> Thanks!
> Robert
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu

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


More information about the JWLua mailing list