[JW Lua] FCSmartShapePrefs:SetEngraverSlurSymmetryPercent doesn't work
Jan Angermüller
jan at angermueller.com
Fri Jul 15 22:59:45 CEST 2016
Jari,
FCSmartShapePrefs:SetEngraverSlurSymmetryPercent(...) doesn't work, but
using FCSmartShapePrefs.EngraverSlurSymmetryPercent instead works fine.
Code snippet:
local slurprefs=finale.FCSmartShapePrefs()
slurprefs:LoadFirst()
slurprefs.EngraverSlurSymmetryPercent=500
slurprefs:SetEngraverSlurSymmetryPercent(700)
slurprefs:Save()
print(slurprefs:GetEngraverSlurSymmetryPercent()) --prints 500, not 700
Running [Unnamed Script] ======>
500
<======= [Unnamed Script] succeeded (Processing time: 0.000 s).
Best,
Jan
More information about the JWLua
mailing list