On 22/06/2015 at 01:15, xxxxxxxx wrote:
Hey guys, I was trying to add a link box in a plugin i was making and was having an error. Maybe its a bug, i think so.
the code i gave was:
** self.GroupBegin(20001, c4d.BFH_SCALEFIT | c4d.BFV_SCALEFIT, 2, 0, "")**
** self.rootLinkBaseContainer = c4d.BaseContainer()**
** **
** self.AddStaticText(0, c4d.BFH_LEFT, 0, 0, "Source Object:", 0)**
** self.linkBox = self.AddCustomGui(MY_LINKBOX, c4d.CUSTOMGUI_LINKBOX, "", c4d.BFH_SCALEFIT|c4d.BFV_SCALEFIT, 0, 0)**
** self.GroupEnd()**
The error that is coming is:
indentation error on self.
I dunno why thats happening but when i commented the code for the link box, the plugin started displaying.
Pls help me debug this.