-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for Parameter Defaults #13
Comments
This should already work -- at least for BOOL, LONG, REAL, VECTOR and COLOR parameters. |
Afaik, you can not set the default value for eg. for String or Gradient parameters in the description resource. That would need to be added to the generated Python plugin file. |
This is the .res file that's generated:
But this is what I see in C4D: Expected based on the UserData: C4D doesn't seem to be using the defaults - perhaps it's something that has to be done in Python code? Also, Here's the .c4d file used to generate this: |
Oh right, I forgot. The default you set in the description is what you get when you do Right Click > Reset to Default on the parameter. The default value still needs to be set in |
Hm, there seems to be no (documented) symbols that describe the "Limit Min" or "Limit Max" checkboxes in the UserData settings. I'll have to find out how to read that checkbox value first. |
I've moved the issue of the Limit Min/Limit Max settings to a different issue. |
Fixed in 9eb96d8 |
This is probably a non-trivial issue, but it would be great if parameters could be initialized with default values based on the
Default Value
setting in the UserData Editor.The text was updated successfully, but these errors were encountered: