On 02/04/2017 at 14:51, xxxxxxxx wrote:
Is it possible to retrieve a customgui wich is not made by maxon? If not can it be considered as feature request?
basicly doing this stuff
bc = c4d.BaseContainer()
bc.SetReal(c4d.DESC_MIN, 0.0)
bc.SetReal(c4d.DESC_MAX, 100.0)
bc.SetReal(c4d.DESC_STEP, 0.01)
bc.SetLong(c4d.DESC_UNIT, c4d.DESC_UNIT_FLOAT)
CustomFloatSlider = self.AddCustomGui( 1001, SLIDERGUI, "", c4d.BFH_SCALEFIT | c4d.BFV_SCALE,100,0,bc)
self.SetReal(1001, 50.05, 10.0, 20.0, 0.00001, min2=0, max2=100)
#Not working since CustomFloatSlider is a bool while a pointer to the gizmo is expected
#CustomFloatSlider.SetReal(1001, 50.05, 10.0, 20.0, 0.00001, min2=0, max2=100)
Gedialog.FindCustomGui have a note about it but not addCustomGui.
BTW if it's not possible since this customGui is just a customGUi who display all float decimal (and it's why I wanna it into my plugin).
Is it possible to create a AddEditNumberArrows with a custom number of decimal? (I know ui can store all range of float but it only display 3decimal)
Thanks in advance :)