Apex Abstract Control : how to customize

   912   7   4
User Avatar
Member
604 posts
Joined: 11月 2005
オフライン
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
User Avatar
スタッフ
109 posts
Joined: 10月 2023
オフライン
You can change the look of any control using the configure controls node. The second input on the configure controls can be used to add custom shapes.
User Avatar
Member
680 posts
Joined: 11月 2013
オフライン
It seemed that there are some features not to be exposed to configure controls node such as mouse click callback and parent-child relation that only available in AutoRig Builder.
Edited by jerry7 - 2025年11月21日 02:16:39
User Avatar
Member
604 posts
Joined: 11月 2005
オフライン
Thanks, configure controls works.

But I wonder how that advanced controls are build, that are used in the electra rig for exammple

Attachments:
ctrls.png (320.4 KB)

User Avatar
スタッフ
109 posts
Joined: 10月 2023
オフライン
Hi here are some examples of how to create controls groups and custom triggers.

Attachments:
controlgroups.hip (563.4 KB)

User Avatar
Member
604 posts
Joined: 11月 2005
オフライン
Great, thank You!
User Avatar
Member
468 posts
Joined: 6月 2018
オフライン
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
Edited by JonasSorgenfrei - 2025年11月27日 18:06:33
Jonas Sorgenfrei
FX/PIPELINE TD | RISE Visual Effects Studios
User Avatar
スタッフ
126 posts
Joined: 5月 2021
オフライン
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
  • Quick Links