Presets and how to create them? (SDK 7)

A place for developers to share ideas and assist each other in solving problems.

Moderators: valis, garyb

User avatar
sunmachine
Posts: 371
Joined: Mon Mar 01, 2010 12:37 am

Re: Presets and how to create them? (SDK 7)

Post by sunmachine » Tue Jun 05, 2018 11:38 am

IIRC you have to be on the topmost level of your circuit to be able to move the controls onto the panel.
So try this:
- Goto to the topmost level in Circuit mode
- Switch to Surface mode and Move mode
- Drag the control to the panel

User avatar
RA
Posts: 350
Joined: Fri Aug 18, 2006 4:00 pm
Contact:

Re: Presets and how to create them? (SDK 7)

Post by RA » Tue Jun 05, 2018 12:11 pm

Actually, i can move controls inside groups that are in the panel, so in the sdk4 you dont have to be in top level. Just as extra info ;)
- We're freaks about gearz and methods -
More on dNa: http://dnamusic.nl

DragonSF
Posts: 377
Joined: Sun Nov 08, 2015 4:28 pm

Re: Presets and how to create them? (SDK 7)

Post by DragonSF » Wed Jun 06, 2018 3:56 am

I can't see any custom size and no auto. And also no GO Editor.
If you refer to 'GO' Tree: yes this exists, but only the 'visible' and 'position origion' check do anything. If I change 'type' the panel vanishes for good.

User avatar
RA
Posts: 350
Joined: Fri Aug 18, 2006 4:00 pm
Contact:

Re: Presets and how to create them? (SDK 7)

Post by RA » Wed Jun 06, 2018 5:17 am

Oh right...it called different in 7. Will check for you later
- We're freaks about gearz and methods -
More on dNa: http://dnamusic.nl

User avatar
RA
Posts: 350
Joined: Fri Aug 18, 2006 4:00 pm
Contact:

Re: Presets and how to create them? (SDK 7)

Post by RA » Mon Jun 11, 2018 11:07 am

Okay DragonSF,

it is called the same in SDK7, but some things in the GO editor, actually it is called GO-Tree, are a bit fiddly.
The parameters which are of special interest are:

ViewTree Group(VTG),
Custom Horizontal Size(CHS)
Custom Vertical Size(CVS).

These interact. I'll explain how to use them:
1-Make sure you have your project onscreen, so viewing all the way up, not looking into devices. You should also see the in and outputs of the card/xite.
2-Enter your device/doubleclick on it. You will now see your circuits and you should also see a SurfaceInterface module connected to Panel module, aka your main GUI.
3-Don't enter any sub modules, but just switch from circuit mode to surface mode. You should now see your main GUI on screen!
4-Select(not enter) the main panel object/background and open your GO-Tree window; it will show a panel folder, with a ClientArea subfolder inside.
5-See the attached screenshot of such a ViewTree. You see that the Panel folder(GO-Tree), is a group containing your ClientArea. In the actual module, as shown in your Project explorer will have more elements such as knobs, faders, controllers, text etc. You can also group elements or objects on your GUI for keeping them together while moving for example. Groups can be very handy. In Surface mode They are the equivalent of folders in the Circuit mode.
6-When things are grouped, certain flags on the GO-Tree editor are set by default. To cut things short: while you are developing your device and the GUI is not finished, the flags on a group, and also the main panel one!: VTG should be enabled, and the CHS and CVS should be enabled.

The ViewTree option, makes the group as large as is needed to included ALL it's siblings. Also the ones which are placed outside a panel, or you placed it outside the group when it didn't have the correct dimensions! (this is how you lose controls from screen when moving them around when the size is fixed and things are clipped. I'll come back to this later on)

So while developing: VTG on, CHS and CVS off.
When your finished: Watch order!!!!! CHS and CVS on, and then VTG off. NOT the other way around!

The CHS and CVS will be set to current size, including the siblings/elements of the group.

Now: Select Clipping, will make sure a user cannot select outside that group's dimensions. It is possible to place things outside a group after the size has been set to custom. That is....if DrawClipping isn't enabled. DrawClipping will make sure that elements outside the groups dimension are not drawn onto screen, they are invisible (if size is at custom). You CAN enter any group, and the elements hidden or outside a group can be seen after entering a group. This is all done in surface mode!

When you finalize your device, you should first check and optimize. Probably you will get a lot of ViewTree messages. We have all seen them. Make sure you set ALL the groups to correct parameters. So...select a group, enable CHS and CVS and then disable VTG. If you have done that all correct, and thought about the SelectClipping and DrawClipping you should have a fast GUI as far as user experience goes.
GO-Tree.png
GO-Tree.png (12.03 KiB) Viewed 667 times
- We're freaks about gearz and methods -
More on dNa: http://dnamusic.nl

DragonSF
Posts: 377
Joined: Sun Nov 08, 2015 4:28 pm

Re: Presets and how to create them? (SDK 7)

Post by DragonSF » Mon Jun 11, 2018 3:54 pm

Thanks, that helped a lot. But it didn't work, until I switched to project window 2 and put this into surface mode too. The most important part is, that you have to be inside the module/device.

Post Reply