Hi
there a some examples where users customized the abstract controls in their rigs. are there any docs about this or even demos. it would be cool to adjust the look of the abstract control so that is self-explanatory in the viewport
thanks for Your time
Martin
Apex Abstract Control : how to customize
1157 9 5-
- sanostol
- Member
- 608 posts
- Joined: Nov. 2005
- Offline
-
- william_harley
- Staff
- 111 posts
- Joined: Oct. 2023
- Offline
-
- jerry7
- Member
- 680 posts
- Joined: Nov. 2013
- Offline
-
- sanostol
- Member
- 608 posts
- Joined: Nov. 2005
- Offline
-
- william_harley
- Staff
- 111 posts
- Joined: Oct. 2023
- Offline
-
- sanostol
- Member
- 608 posts
- Joined: Nov. 2005
- Offline
-
- JonasSorgenfrei
- Member
- 468 posts
- Joined: June 2018
- Offline
Heyhey
i've got a question about the addConfigControl function.
What are the possible controltype values?
The example uses __slider__ and __toggle__.
I tried __string__ which didn't work unfortunatly and had a numeric fallback parameter.
Cheers
Jonas
i've got a question about the addConfigControl function.
What are the possible controltype values?
The example uses __slider__ and __toggle__.
I tried __string__ which didn't work unfortunatly and had a numeric fallback parameter.
Cheers
Jonas
Edited by JonasSorgenfrei - Nov. 27, 2025 18:06:33
Jonas Sorgenfrei
FX/PIPELINE TD | RISE Visual Effects Studios
FX/PIPELINE TD | RISE Visual Effects Studios
-
- esttri
- Staff
- 126 posts
- Joined: May 2021
- Offline
valid options are:
- __color__ - gadget that makes it easier to set colors the rest is simply a normal vector3
- __channel__ --> this is does not give you an actual control to select but simply an entry in the channelwidget for control groups. it needs to be combined with value_type ! otherwise it does not know if you are after an Int, Bool, Float or a String. also very important: the arg 'animatable' needs to be set to False if you want to use strings! strings cant be keyed!
- __toggle__
- __numbermenu__ - gives you gadget to set integer values
- __menu__ - this also sets up an int menu but the entries can be shown in the channel widget and the gadget as string values, you will need menu_entries for the menu icons for this one and menu_labels for the label names for the icons for it
- __btn__ - this does not give you a parm but simply a button control that can be used to trigger python callbacks the first entry in menu entries can be used to customize the shape of the btn
-
- MatijaK
- Member
- 63 posts
- Joined: Aug. 2024
- Online
I'm not sure if I'm doing something wrong or if it is even possible to do right now but when I try to do a controller that will switch between 0-3 by setting the slider min and max I still get 13 outputs(0-12)
# Add the first control in the control group graph.addConfigControl( controlgroup=control, parent=primary, name='slider', controltype='__numbermenu__', promoted_name='slider_x', instance=instance, value_type='Int', slider_min=0, slider_max=3, animatable=False, color=(1,0,1), )
Edited by MatijaK - Jan. 10, 2026 05:21:10
-
- MatijaK
- Member
- 63 posts
- Joined: Aug. 2024
- Online
Well for anyone else who could struggle with this here is the solution.
There is still something I don't understand. I would assume that if I add :
I will see the labels in the view-port but I'm seeing the entries. If I use the sports strings as menu_entries I can see them in the view-port but than the integers I'm getting are always 0.
graph.addConfigControl( controlgroup=control, parent=primary, name='segments', controltype='__intlistmenu__', value_type='Int', defaultvaluedict={'value': 0}, menu_entries=['0', '1', '2', '3'], instance=1, )
There is still something I don't understand. I would assume that if I add :
menu_labels=['Football','Basketball','Tennis','Volleyball'],
Edited by MatijaK - Jan. 10, 2026 13:32:20
-
- Quick Links



