-
Hi, auto toolkit = new VrvToolkit("data");
writeln(toolkit.getVersion()); // 4.2.0-dev[undefined]
toolkit.loadFile("complex.musicxml");
toolkit.select(`{"measureRange":"3-5"}`);
toolkit.renderToSVGFile("complex.svg"); Although I specify that measure Did I something wrong or does the select method not work together with MusicXML and SVG? Kind regards |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I just tried calling |
Beta Was this translation helpful? Give feedback.
-
Unfortunately it does not work. It causes an exception with the sample musicxml attached, if I call (In the C wrapper I pass the JSON as string, beside that, the coding line you proposed is identical). Kind regards |
Beta Was this translation helpful? Give feedback.
-
Thanks. Issue was caused by the build instructions. With these build instructions, it seems to work fine
|
Beta Was this translation helpful? Give feedback.
You need to do
toolkit.select({"measureRange": "1-3"})