[JW Lua] Problem with FCStaffStyleAssigns

Robert Patterson robert at robertgpatterson.com
Sun Jun 25 15:25:39 CEST 2023


LoadAll does not work with FCStaffStyleAssigns. Use LoadAllForItem.

On Sat, Jun 24, 2023 at 10:06 AM Aaron Sherber <aaron at sherber.com> wrote:

> Hi all,
>
> If I open a document that has staff style assignments and do:
>
> local count = 0
> for a in loadall(finale.FCStaffStyleAssigns()) do
>     count = count + 1
> end
>
> 'count' is 0 at the end of the loop -- it appears that no assignments are
> being loaded. It looks like LoadAllForItem() works as expected, but not
> LoadAll(). Is this a bug in the PDK?
>
> Thanks,
> Aaron.
>
>
> _______________________________________________
> 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/20230625/34a0ad6e/attachment.htm>


More information about the JWLua mailing list