Search - User list
Full Version: Custom Parameter Tags ¶
Root » Technical Discussion » Custom Parameter Tags ¶
Debrumaire
Hi everyone !

I'm currently trying to learn how to create our own custom parameter tags. I'm trying to create a semi-complex tag inspired by the one on the "joints#" and "parent#" parameters:
from kinefx.ui import rigtreeutils
rigtreeutils.selectPointGroupParm(kwargs)

What I want is using the "selectPointGroupParm(kwargs)" function to access the points in the input of another node (currently this code allows to access the points of the current node's inputs).

For that I have to add new lines of code, and there is my problem: I cannot add this pilcrow ¶ symbol to the script that tells when we start a new line. (copy-pasting the symbol from internet doesn't work, from the script itself either, and trying the shortcut to create it doesn't too...)


Does anybody know how to write correctly a script with multiple lines for parameter tags ?

Thank you very much !
henry.foster
These particular tags are better handled using the dedicated interface for the parameter's Action Button. Under the Parameter Description panel go to Action Button and the code you enter here will also update the `script_action` tag you've highlighted.
Debrumaire
Ooooh ! Thank you so much didn't know it was done this way it makes sense !
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB