Hey, I’m curious of the context in which you’re using this, would you mind adding a bit of information about howand why you use this method to create properties ? You are creating them at runtime ?
It might be a missunderstanding. I register the props only in the register() function. However, the addon modifies scene properties, based on my custom props stored in a group/+collection.
And I want several things:
Easily add other props, in one place and not in several different positions in the code.
Add extra functionality (for later)
Populate a Dropdownlist with all my props, but only that, that haven’t been used yet.
So instead of defining a group property with all my props, I create a Dict and write all the stuff I need there.
Prop Type, Name, Default … all the prop related stuff
All Extra functionality (That is needed in my addon)
Than I read the dict in regiter() and register all the props to the group property
but the dict is still accesible in runtime, so I can populate my dropdown with it and also I can execute my addons mainfunction (modify scene properties) based on the Dict (Here the extra functionalities come into play)