<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Robert,<br>
<br>
I have found one line in Perfect Layout where SetMode is used.<br>
But it looks like it was just used because of the documentation of
SetMode.<br>
It doesn't change the actual mode. It only confirms the original
mode.<br>
<br>
As :GetMode or .Mode doesn't exist, I can't check if it is
necessary.<br>
But if you say it's not, I can omit the SetMode line.<br>
<br>
It's something like this (haven't checked this excerpt, it's part of
large code block)<br>
local endrepeat=finale.FCEndingRepeat()<br>
if endrepeat:Load(1) then<br>
if endrepeat.IndividualPositioning then<br>
local
sep=endrepeat:CreateSeparatePlacements()
<br>
sep:SetMode(2) --==finale.SEPARMODE_ENDINGREPEAT which doesn't
exist<br>
local s=sep:AssureStaffPlacement(startstaff)<br>
s.HorizontalOffset2=0<br>
s:Save()<br>
end<br>
end <br>
<br>
Jan<br>
<br>
<div class="moz-cite-prefix">Am 01.09.2022 um 20:51 schrieb Robert
Patterson:<br>
</div>
<blockquote type="cite"
cite="mid:CAACnces5brGFoa1opeT=Tscw-CfroXcximMaV9=mVYMB63CECA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>I am intending to remove Lua access to
FCSeparatePlacements.SetMode, unless someone can convince me
otherwise. This mode is set by the relevant
...Ending:CreateSeparatePlacements function and it should
never be changed.</div>
<div><br>
</div>
<div>I am not certain why it was added to JW Lua.</div>
<div><br>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-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>