<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Jari,<br>
<br>
FCNoteEntry:IsPartOfTuplet seems to have a bug when two voices are
involved.<br>
The rests in the attached example (Fin2012 file) are on Voice 2 and
each is connected to their eighth note above - so they are
independent Voice 2 lines.<br>
When I call IsPartOfTuplet(), it returns true on the first 8th rest,
but not on the second 8th rest (script below).<br>
<br>
<img src="cid:part1.F0703FAB.B855DACC@angermueller.com" alt=""><br>
<br>
And do you have any news on further updates of JW Lua?<br>
<br>
Best,<br>
Jan<br>
<br>
Test code:<br>
for e in eachentry(finenv.Region()) do<br>
print(e.MeasurePos,e.Voice2,e:IsPartOfTuplet())<br>
end<br>
<br>
Running [Unnamed Script] ======><br>
0 false true<br>
341 false true<br>
341 true true<br>
683 false true<br>
683 true false<br>
1024 false false<br>
2048 false false<br>
<======= [Unnamed Script] succeeded (Processing time: 0.000 s).<br>
</body>
</html>