[SOLVED] How to create spline type userdata?
-
On 27/11/2017 at 03:43, xxxxxxxx wrote:
Hi, everyone!
I want to create a spline type userdata, which I can create at
"Attribute Manager" > "User Data" > "Add User Data", in "Properties", there is a "Data Type", which I can choose "Spline".But in python script, I can't use c4d.GetCustomDatatypeDefault(c4d.DTYPE_SPLINE) to create one, and use AddUserData to add it into a object.
How can I create a spline type userdata with python?
Thanks!
-
On 28/11/2017 at 04:01, xxxxxxxx wrote:
Welcome here, I'm not at home but instead of DTYPE_SPLINE use c4d.CUSTOMDATATYPE_SPLINE
-
On 28/11/2017 at 21:01, xxxxxxxx wrote:
It works! Thank you very much!