<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi all,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">If I open a document that has staff style assignments and do:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div style="color:rgb(0,0,0);font-family:Consolas,"Courier New",monospace;font-size:12px;line-height:16px;white-space:pre"><div><span style="color:rgb(0,0,255)">local</span> <span style="color:rgb(0,16,128)">count</span> = <span style="color:rgb(9,134,88)">0</span></div><div><span style="color:rgb(175,0,219)">for</span> <span style="color:rgb(0,16,128)">a</span> <span style="color:rgb(175,0,219)">in</span> <span style="color:rgb(0,16,128)">loadall</span>(<span style="color:rgb(0,16,128)">finale</span>.<span style="color:rgb(121,94,38)">FCStaffStyleAssigns</span>()) <span style="color:rgb(175,0,219)">do</span></div><div>    <span style="color:rgb(0,16,128)">count</span> = <span style="color:rgb(0,16,128)">count</span> + <span style="color:rgb(9,134,88)">1</span></div><div><span style="color:rgb(175,0,219)">end</span></div></div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">'count' is 0 at the end of the loop -- it appears that no assignments are being loaded. It looks like LoadAllForItem() works as expected, but not LoadAll(). Is this a bug in the PDK?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks,<br>Aaron.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div>