[JW Lua] Set position of measure number

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Sun Oct 5 23:04:51 CEST 2014


Bart,

I've implemented the FCSeparateMeasureNumber(s) classes now, and it will 
be available in the next beta update.

Here's a sample script on how to use it (when the beta is available).

The sample script adds a manual forced measure number in measure #6 and 
staff ID #2, and it uses the first measure number region.

---
local measnumregion = finale.FCMeasureNumberRegion()
measnumregion:Load(1)

local cell = finale.FCCell(6, 2)

local num = finale.FCSeparateMeasureNumber()
num:ConnectCell(cell)
num:AssignMeasureNumberRegion(measnumregion)
num.ShowOverride = true
num:SaveNew()

local measure = finale.FCMeasure()
measure:Load(6)
measure.ContainsManualMeasureNumbers = true
measure:Save()
---


Best regards,

Jari Williamsson


On 2014-10-03 11:33, Bart Visser wrote:
> Hi Jari,
>
> I would like to set the position of a measure-number (so it won't collide with a forward repeat). Is this already possible? I'm able to read/write if it has a manual positioning (FCMeasure::SetContainsManualMeasureNumbers), but not the actual position itself.
>
> Thanks,
>
>
> Bart
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
>






More information about the JWLua mailing list