改段・改ページを入れる/外す
layout_set_breakSets or replaces a layout break at the end of specified measures in a MuseScore score, using line, page, section, nobreak, or none break kinds.
Instructions
指定した小節の終わりに区切りを入れる。kind: line=改段, page=改ページ, section=セクション区切り, nobreak=この小節の後で段を切らない, none=区切りを外す。その小節に既にある区切りは置き換える。MuseScore の API(画面なし)で行い、新しい版を作る。小節は 1 始まりの通し番号(譜面の先頭からの並び順。弱起や番号を飛ばした小節があると表示上の小節番号とずれることがある。layout_inspect の measures[].index / no で対応を確認できる)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| measures | Yes | ||
| score_id | Yes | score_open が返した score_id |