Skinning question (Parent panes)
- u-he
- 30213 posts since 8 Aug, 2002 from Berlin
-
- KVRAF
- Topic Starter
- 6780 posts since 17 Dec, 2009
it does :/ i even added a dummy control to it.Urs wrote: Wed May 18, 2022 10:30 am Quick guess: The parent must exist before the control you add to it.
the only thing i could think of is that the pane i'm trying to add it to is nested too deep.
Also double checked that name doesn't exist/conflict
- u-he
- 30213 posts since 8 Aug, 2002 from Berlin
-
- KVRAF
- Topic Starter
- 6780 posts since 17 Dec, 2009
this was the original code:
Code: Select all
CONTROL type='ModAssigner' name='ModAssigner Mod1' bounds='90.00 4.00 29.00 20.00' parent='Pane MOD1' layerMask='1'
PROPERTY control='ModAssigner Mod1' name='colours' id='0' value='none'
PROPERTY control='ModAssigner Mod1' name='colours' id='1' value='invisible'
PROPERTY control='ModAssigner Mod1' name='colours' id='2' value='none'
PROPERTY control='ModAssigner Mod1' name='colours' id='3' value='Source-DDrag'
PROPERTY control='ModAssigner Mod1' name='colours' id='4' value='Source-DDrag-HL'
PROPERTY control='ModAssigner Mod1' name='graphics' id='0' value='none'
PROPERTY control='ModAssigner Mod1' name='graphics' id='1' value='none'
PROPERTY control='ModAssigner Mod1' name='graphics' id='2' value='H2-ModAssign-HL'
PROPERTY control='ModAssigner Mod1' name='ModSource' id='0' value='Mod Envelope 1'Code: Select all
CONTROL type='ModAssigner' name='ModAssigner Mod1' bounds='90.00 4.00 29.00 20.00' parent='Pane MODtop' layerMask='1'Code: Select all
CONTROL type='Pane' name='Pane MODtop' bounds='1.00 0.00 194.00 20.00' parent='MODENV' layerMask='1'
PROPERTY control='Pane MODtop' name='colours' id='0' value='none'
PROPERTY control='Pane MODtop' name='colours' id='1' value='none'
PROPERTY control='Pane MODtop' name='colours' id='2' value='none'
PROPERTY control='Pane MODtop' name='colours' id='3' value='none'
PROPERTY control='Pane MODtop' name='graphics' id='0' value='none'
PROPERTY control='Pane MODtop' name='layer' id='0' value='Layer 1''Also happened with a few pans and bits and pieces. For now i just ended up deleting them and recreating them in the destination pane from scratch in the editor.
Some thing move just fine tho, like an entire FX Section pane for example, and few other things. Some knobs (like pan knob from OSC) also didn't want to go where I specified in the script.
It happened a few times and i'm fairly careful and consistent not to overwrite text editor over changes i make in the script.
So the only thing i could think of is that i tried moving controls to a pane nested too deep - 6 levels away from the mother pane.
so root > Mother Pane > Synth Pane > LINK >MAINTOP > MODENV > Pane MODtop
- u-he
- 30213 posts since 8 Aug, 2002 from Berlin
There's no limit to depth of nesting as far as I recall... the only thing I can think off is that "CONTROL type='Pane' name='Pane MODtop'..." is further down in the script than "CONTROL type='ModAssigner' name='ModAssigner Mod1'...", such that, when latter is constructed, former does not yet exist.
-
- KVRAF
- Topic Starter
- 6780 posts since 17 Dec, 2009
That makes perfect sense. I combine code + built in editor and things sometimes get.. weird.Urs wrote: Sat May 21, 2022 2:21 pm There's no limit to depth of nesting as far as I recall... the only thing I can think off is that "CONTROL type='Pane' name='Pane MODtop'..." is further down in the script than "CONTROL type='ModAssigner' name='ModAssigner Mod1'...", such that, when latter is constructed, former does not yet exist.
as in, i'm not super consistent.
I'll check it out, thanks
- KVRian
- 544 posts since 1 Jan, 2013 from Saint-Petersburg, Russia
Some elements have their properties scattered across the script file. So, for example, if you want to copy or rename some pane, make sure you found all of its properties and related elements. In Sublime Text I would highlight the name of the element, Ctrl+F to activate search, and then F3 to jump between found results.
- u-he
- 30213 posts since 8 Aug, 2002 from Berlin
Yes, some properties need to go to the end of the script file because they may create references between elements that do not adhere to the natural hierarchy. A LayerSelector for instance can easily be on a completely different level and a complete different branch of the hierarchy than the Pane it controls.
-
- KVRist
- 282 posts since 4 Feb, 2015
As the type of "LayerSelector" has been mentioned, I have this question.
I would like to create a skin (for Tyrell) that enables me to switch between different background images from within the skin itself. Maybe something like Ploki did with Verve for Podolski.
To illustrate, I would like to explain it like this:
Let's say I have three images, one with a rabbit, one with a fox, and one with a squirrel. They all serve as a background, with all the knobs, displays, faders, etc on top.
By default, the synth opens with the rabbit one. Now, if I press a button, a kind of drop-down menu opens and offers me a selection of 1- rabbit, 2 - fox, and 3 - squirrel.
I select one of these, and the background changes accordingly.
Is it possible to do this, and if yes, how?
[Sorry, Ploki, I apologize in advance, I don't mean to "hijack" this thread; I just thought my question might be related to the topic or the question you raised.]
I would like to create a skin (for Tyrell) that enables me to switch between different background images from within the skin itself. Maybe something like Ploki did with Verve for Podolski.
To illustrate, I would like to explain it like this:
Let's say I have three images, one with a rabbit, one with a fox, and one with a squirrel. They all serve as a background, with all the knobs, displays, faders, etc on top.
By default, the synth opens with the rabbit one. Now, if I press a button, a kind of drop-down menu opens and offers me a selection of 1- rabbit, 2 - fox, and 3 - squirrel.
I select one of these, and the background changes accordingly.
Is it possible to do this, and if yes, how?
[Sorry, Ploki, I apologize in advance, I don't mean to "hijack" this thread; I just thought my question might be related to the topic or the question you raised.]
- u-he
- 30213 posts since 8 Aug, 2002 from Berlin
Sure. LayerSelector + different background pics for each layer.
(just won't store with preset/project/preference)
(just won't store with preset/project/preference)
-
- KVRAF
- Topic Starter
- 6780 posts since 17 Dec, 2009
Yes. I’m currently working on hive and did it like that. It saves the settings because hive’s layersectors have “alwayssynctoPrefs” tag.
I think it also works with other uhe synths via workaround- right click layerselector and context menu “save as default view” pops up.
I think diva also has that tag because of the sidepanels
I think it also works with other uhe synths via workaround- right click layerselector and context menu “save as default view” pops up.
I think diva also has that tag because of the sidepanels
-
- KVRist
- 282 posts since 4 Feb, 2015
e-musician wrote: Wed May 25, 2022 11:35 am As the type of "LayerSelector" has been mentioned, I have this question.
I would like to create a skin (for Tyrell) that enables me to switch between different background images from within the skin itself. Maybe something like Ploki did with Verve for Podolski.
To illustrate, I would like to explain it like this:
Let's say I have three images, one with a rabbit, one with a fox, and one with a squirrel. They all serve as a background, with all the knobs, displays, faders, etc on top.
By default, the synth opens with the rabbit one. Now, if I press a button, a kind of drop-down menu opens and offers me a selection of 1- rabbit, 2 - fox, and 3 - squirrel.
I select one of these, and the background changes accordingly.
Is it possible to do this, and if yes, how?
Urs wrote: Wed May 25, 2022 11:46 am Sure. LayerSelector + different background pics for each layer.
(just won't store with preset/project/preference)
Hm ... I did not manage to make it work
This is what I did:
_________________
Controls
_________________
type='Pane' name='Pane 2088' bounds='28.00 3.00 1200.00 600.00' parent='root' layerMask='ffffffff'
PROPERTY control='Pane 2088' name='colours' id='0' value='none'
PROPERTY control='Pane 2088' name='colours' id='1' value='defaultBorder'
PROPERTY control='Pane 2088' name='colours' id='2' value='none'
PROPERTY control='Pane 2088' name='colours' id='3' value='none'
PROPERTY control='Pane 2088' name='graphics' id='0' value='TYRELLN6_V3'
PROPERTY control='Pane 2088' name='layer' id='0' value='Layer 1'
CONTROL type='Pane' name='Pane 1747' bounds='3.00 4.00 1181.00 585.00' parent='Pane 2088' layerMask='1'
PROPERTY control='Pane 1747' name='colours' id='0' value='none'
PROPERTY control='Pane 1747' name='colours' id='1' value='defaultBorder'
PROPERTY control='Pane 1747' name='colours' id='2' value='none'
PROPERTY control='Pane 1747' name='colours' id='3' value='none'
PROPERTY control='Pane 1747' name='graphics' id='0' value='none'
PROPERTY control='Pane 1747' name='layer' id='0' value='Layer 1'
CONTROL type='LayerSelector' name='Choice' bounds='89.00 541.00 31.00 31.00' parent='Pane 1747' layerMask='1'
PROPERTY control='Choice' name='colours' id='0' value='none'
PROPERTY control='Choice' name='colours' id='1' value='none'
PROPERTY control='Choice' name='colours' id='2' value='none'
PROPERTY control='Choice' name='colours' id='3' value='none'
PROPERTY control='Choice' name='layer' id='0' value='01 - Picture A'
PROPERTY control='Choice' name='graphics' id='0' value='01 - Picture A'
PROPERTY control='Choice' name='layer' id='1' value='02 - Picture B'
PROPERTY control='Choice' name='graphics' id='1' value='02 - Picture B'
PROPERTY control='Choice' name='layer' id='2' value='03 - Picture C'
PROPERTY control='Choice' name='graphics' id='2' value='03 - Picture C'
....
Pictures A, B and C are in the Panes folder.
I understand that I must probably have an entry in Properties, but I have no clue what it should look like.
What else did I do wrong? What would the correct syntax be?
Last edited by e-musician on Sun May 29, 2022 5:30 pm, edited 1 time in total.
-
- KVRAF
- Topic Starter
- 6780 posts since 17 Dec, 2009

