<div dir="ltr"><div>I've never used the PDK Framework support for Smart Shapes. It's complicated even with direct PDK access. That said:</div><div><br></div><div>1. You will almost certainly need to call SetCustomShaped(true). (What has me confused is that in Finale each endpoint has its own customized bit, so I am not sure how the PDK Framework is doing this without specifying the left or right endpoint.</div><div><br></div><div>2. It's possible you are correct that FCSmartShapeCtrlPointAdjust is not what you want. But if it isn't, then what you *do* want is not hooked up through the PDK Framework. So it's worth fiddling further, I'd say.</div><div><br></div><div>Good luck.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 23, 2020 at 6:14 PM Martin Marris <<a href="mailto:mmarris@notecraft.com">mmarris@notecraft.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" lang="EN-US"><div class="gmail-m_-1616614798102373960WordSection1"><p class="MsoNormal">I’ve been trying to adjust the right end-point of hairpins. In the source Finale material I am working with, these routinely collide with or cross the group barlines in conductor scores, but I want them to stop a bit before the barline (this issue gets even more exaggerated if the file is brought into another environment via MusicXML). <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">From Google searches it seems like this is a known issue for Finale users, with all sorts of manual and semi-automated solutions. Indeed if I create a totally vanilla Finale document without using any special settings, that is exactly the behavior that I get when placing a slur. If you create a hairpin that spans a measure, it snaps to end exactly on the group barline.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">There is a sample script on the JW Lua website that loads FCSmartshape objects, filters for hairpins, and changes the hairpin opening size by changing the FCSmartShapeCtrlPointAdjust setting for ControlPoint1OffsetY.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">So far, so good. But when I try to change the “X” horizontal settings, nothing happens. I am beginning to think that these “control point adjust” settings have nothing to do with what I am trying to achieve, namely changing the X-offset (relative to the beat, or relative to the measure) of the SmartShape object.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Martin<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div>_______________________________________________<br>
JWLua mailing list<br>
<a href="mailto:JWLua@jwmusic.nu" target="_blank">JWLua@jwmusic.nu</a><br>
<a href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu" rel="noreferrer" target="_blank">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a><br>
</blockquote></div>