<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi Pat,</p>
    <p>your workaround is what I meant with "need to apply the settings
      to the individual pages".</p>
    <p>I just checked where I use FCPage:UpdateLayout: after creating
      multi-measure rests, after changing the page percentage and
      distance between systems, after changing the beatcharts and if
      FCPage:GetFirstSystem returns -1 (which means an update is
      necessary). Usually all these function mean a significant change
      of measures and systems, sometimes even across systems. I don't
      know if UpdateLayout is mandatory in all thse cases. But sometimes
      I need to reflow the measures across systems in connection with
      these functions: that's where UpdateLayout must be used.<br>
    </p>
    The metrics update functions I was talking of are the static
    functions:<br>
                           
    finale.FCEntryMetrics:MarkMetricsForRebuild()<br>
                            finale.FCCellMetrics:MarkMetricsForRebuild()<br>
    These are necessary if you want to calculate metrics (like
    expression positions) after significant changes to the page,
    measure, entries etc. My suggestion is: don't use them unless you
    notice invalid calculations.<br>
    <br>
    Best,<br>
    Jan<br>
    <br>
    <div class="moz-cite-prefix">Am 05.07.2016 um 06:33 schrieb Mr.Pat:<br>
    </div>
    <blockquote
      cite="mid:001001d1d676$53ea6410$fbbf2c30$@pdreditions.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi Jan,<o:p></o:p></p>
        <p class="MsoNormal">This is the workaround I found that works
          well.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">local pp = finale.FCPages()<o:p></o:p></p>
        <p class="MsoNormal">pp:LoadAll()<o:p></o:p></p>
        <p class="MsoNormal">local idx = 1<o:p></o:p></p>
        <p class="MsoNormal">for p in each (pp) do<o:p></o:p></p>
        <p class="MsoNormal">    if idx % 2 == 1 then<o:p></o:p></p>
        <p class="MsoNormal">        p.RightMargin = 504<o:p></o:p></p>
        <p class="MsoNormal">        p.LeftMargin = 216<o:p></o:p></p>
        <p class="MsoNormal">    else<o:p></o:p></p>
        <p class="MsoNormal">        p.RightMargin = 216<o:p></o:p></p>
        <p class="MsoNormal">        p.LeftMargin = 504<o:p></o:p></p>
        <p class="MsoNormal">    end<o:p></o:p></p>
        <p class="MsoNormal">    idx = idx + 1<o:p></o:p></p>
        <p class="MsoNormal">end<o:p></o:p></p>
        <p class="MsoNormal">pp:SaveAll()<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Pat<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
JWLua mailing list
<a class="moz-txt-link-abbreviated" href="mailto:JWLua@jwmusic.nu">JWLua@jwmusic.nu</a>
<a class="moz-txt-link-freetext" href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>