[JW Lua] Updating expression categories

Jan Angermüller jan at angermueller.com
Fri Mar 24 16:10:51 CET 2023


Hi Aaron,

here is a very old mail from Jari. You need to update the expressions 
with an extra loop.

Am 04.09.2014 um 18:29 schrieb Jari Williamsson:
> Some additional info: Expression defs are actually very weak linked 
> with the categories in Finale (much more weak than the impression the 
> UI gives). If you make changes to a category, you need to manually 
> update all expression defs that connects that category.

Jan



Am 24.03.2023 um 14:06 schrieb Aaron Sherber:
> Hi all,
>
> If I use FCCategoryDef to change the font of a category, it appears 
> that existing expressions which are set to use the category font don't 
> automatically pick up this change. If I go into the Expression 
> Designer, the expressions still show using their old font. I need to 
> uncheck and recheck "Use Category Fonts" in order to get each 
> expression to update. Doing this in code (i.e., looping through 
> FCTextExpressionDefs and setting UseCategoryFont to false and then 
> true and saving) doesn't seem to work either.
>
> Is there some programmatic way to get expressions to recognize changes 
> to their categories?
>
> Thanks,
> Aaron.
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu

-- 
Jan Angermüller
Orchideenstieg 13
22297 Hamburg
Tel. 040 - 28 94 84 82
Mobil 0173 - 99 33 904
www.elbsound.studio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20230324/1b3e61da/attachment.html>


More information about the JWLua mailing list