<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Yes, you need to use FCMeasureNumberRegions - in combination with
FCSeparateMeasureNumbers.<br>
<div class="moz-forward-container"> FCMeasureNumberRegion holds the
general vertical offset while FCSeparateMeasureNumber only exists,
if you have manually adjusted a measure number. In that case it
holds the individual offset of that single measure number.<br>
<br>
Jan<br>
<br>
<div class="moz-cite-prefix">Am 14.09.2019 um 19:20 schrieb Nick
Mazuk:<br>
</div>
<blockquote type="cite"
cite="mid:C8F830EA-53C6-43FF-B9E9-E7B7E222994B@nickmazuk.com">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
Hi Everyone,
<div class=""><br class="">
</div>
<div class="">I’m trying to find the vertical position of
measure numbers in a selected region. It looks to me like this
script should print out the vertical position.</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><font class="" face="Courier New">local region =
finenv.Region()</font></div>
<div class=""><font class="" face="Courier New">local
measure_numbers = finale.FCSeparateMeasureNumbers()</font></div>
<div class=""><font class="" face="Courier New">print(measure_numbers:LoadAllForRegion(region))</font></div>
<div class=""><font class="" face="Courier New">-- this
outputs 0, which tells me that it’s not loading the
measure numbers</font></div>
<div class=""><font class="" face="Courier New"><br class="">
</font></div>
<div class=""><font class="" face="Courier New">for mn in
each(measure_numbers) do</font></div>
<div class=""><font class="" face="Courier New">
print(mn.VerticalPosition)</font></div>
<div class=""><font class="" face="Courier New">end</font></div>
</div>
<div class=""><br class="">
</div>
<div class="">Even with a region selected, it looks like it’s
not loading the measure numbers. Am I missing something? The
docs don’t look like I need to use the
finale.FCMeasureNumberRegions() class at all, but do I?</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class=""><br class="">
</div>
<div class="">Nick Mazuk</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
JWLua mailing list
<a class="moz-txt-link-abbreviated" href="mailto:JWLua@jwmusic.nu" moz-do-not-send="true">JWLua@jwmusic.nu</a>
<a class="moz-txt-link-freetext" href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu" moz-do-not-send="true">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
</pre>
</blockquote>
<br>
</div>
</body>
</html>