local marks = finale.FCSmartShapeMeasureMarks() -- Load all smart shape marks within the region and remove duplicate references marks:LoadAllForRegion(finenv.Region(), true) for mark in each(marks) do -- Make a smart shape object (of the FCSmartShape class) for the mark local smartshape = mark:CreateSmartShape() if smartshape:IsHairpin() then -- Get the FCSmartShapeCtrlPointAdjust sub object -- (which is part of the FCSmartShape) local adjust = smartshape:GetCtrlPointAdjust() -- Set the hairpin opening width to 24 EVPUs adjust.ControlPoint1OffsetY = 24 adjust.CustomShaped = true -- Save the smart shape change smartshape:Save() end end