<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Jari et al,<br>
<br>
I have a problem with an ending repeat bracket. Attached is an
excerpt from an orchestra score.<br>
When I want to add a "separate placement" (i.e. a change of the
bracket offsets only for this staff), the repeat bracket always
hides. The following code is the excerpt which leads to the hiding
in the attached document:<br>
<br>
local endrep=finale.FCEndingRepeat()<br>
if endrep:Load(5) then --i.e. load bracket in measure 5<br>
endrep.IndividualPositioning=true --not really required here as
it is already true in the document, just for better understanding<br>
local sep=endrep:CreateSeparatePlacements() <br>
local s=sep:AssureStaffPlacement(1) -- i.e. create separate
placement element for staff 1 -> this leads to the hiding<br>
--... here follows the part which sets the offsets, but it's not
required for this problem, the staff becomes hidden<br>
end<br>
<br>
Can anyone explain this?<br>
Or in other words: each bracket in Finale has a show/hide property.
How can I address show/hide of brackets in JW Lua?<br>
FCSeparatePlacement only has offset values, but no visibility
properties. Same for FCEndingRepeat.<br>
(Of course, you can also handle this over staff lists, but I assume
they don't have anything to do with show/hide property)<br>
<br>
Jan<br>
</body>
</html>