Active Controls
-
Hello.
I'm currently working on a simple plugin that will change the controls of the active object in the scene. I know how to get the active object in the scene since that is simple enough.
My question is is it possible to get from an object/tag which, if any, of its parameters are currently selected/highlighted like in the picture below.
From looking through the sdk I didn't come across anything that would indicate whether it was possible or not definitively.
I assume that you can't but I would like to be able to be sure.
Any help would be greatly appreciated.
John Terenece
-
Just an idea,
- get the tag (loop through all the tags)
- loop trough all parameters (don't know how have to research)
check for bitactive (problem might be that numbersfields ans so on can be inactive even if the user placed its cursor ....)
My question: why the hussle, perhaps outline your need more on a practical example ....
cheers mogh
-
I'm looking to have my plugin randomize parameters on an object specified by a user. It would help if I could use the active parameter that the user has selected instead of needing to have them directly feed in parameters.
-
Hello @JohnTerenece,
Thank you for reaching out to us. No, receiving the selected parameter in an Attribute Manager is not possible. Because we generally do not expose UI functionalities in the public API and because there can be multiple Attribute Managers open and the public API also does only provide shallow access to that concept too (for the same reason).
All the Attribute Manager related functionalities that are exposed in the public API can be found in lib_activeobjectmanager.h.
Cheers,
Ferdinand -
Thanks for the response.
That's what I figured would be the case.