Getting the spline from the SplineCustomGui
-
In this post https://developers.maxon.net/forum/topic/14045
an example is given, how to define the SplineCustomGui interface.
I like to know how to get the spline data from the interface.I added a button to the dialog and tried this, but I got None as result.
def Command(self, id, msg): if (id == 210200): print ("Button") print (self.descriptionGUI.GetData()) return True
-
Hello @pim,
Thank you for reaching out to us. As announced here, Maxon is currently conducting a company meeting. Please understand that our capability to answer questions is therefore limited at the moment.
The custom GUI for
SplineData
has its own dedicated GUI type, c4d.gui.SplineCustomGui as pointed out by yourself. So, you must use SplineCustomGui.GetSplineData instead of the generic BaseCustomGui.GetData.Cheers,
Ferdinand