[JW Lua] Problem with FCStaffStyleAssigns
Aaron Sherber
aaron at sherber.com
Sun Jun 25 21:44:30 CEST 2023
Thanks, good to know.
Aaron.
On Sun, Jun 25, 2023 at 9:30 AM Robert Patterson <
robert at robertgpatterson.com> wrote:
> Generally speaking, LoadAll does not work with __FCCollectionInciOther. I
> haven't tried to fix it because it would introduce a fair amount of risk to
> other collection subclasses, and it isn't that important.
>
> On Sun, Jun 25, 2023 at 8:25 AM Robert Patterson <
> robert at robertgpatterson.com> wrote:
>
>> 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
>>>
>> _______________________________________________
> 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/87846ffa/attachment.htm>
More information about the JWLua
mailing list