<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Jari,</p>
there is a bug in the sample code 2 of FCDotMods:LoadAll().<br>
noteentry is missing in finale.FCDotMods().<br>
Also the third line of code is not necessary.<br>
<br>
Best,<br>
Jan<br>
<p><br>
</p>
<p>for noteentry in eachentry(finenv.Region()) do<br>
local dotmods = finale.FCDotMods()<br>
dotmods:LoadAll()<br>
local myNumberResult = dotmods:LoadAll()<br>
for dm in each(dotmods) do<br>
-- Do something with 'dm' (of the 'FCDotMod' class) here<br>
end<br>
end</p>
Second line should be:<br>
local dotmods = finale.FCDotMods(<b>noteentry</b>)<br>
Third line ( dotmods:LoadAll() ) is not necessary.<br>
</body>
</html>