THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/05/2012 at 09:30, xxxxxxxx wrote:
I have a customer working on a Mac while I'm using Windows 7. The SplineCustomGui is initialized automatically on Windows, which doesn't seem to be the case on Mac. Using FindCustomGui() does return None on Mac , but the SplineCustomGui on Windows.
class FlightsDialog(c4d.gui.GeDialog) :
def InitValues(self) :
spl = self.FindCustomGui(res.SPL_DATA_ALTITUDE)
But there's still one problem on windows: The CustomGui is only redrawn when resizing the dialog, so when the dialog opens, the SplineGui looks kind'a awkward because it's range is not set correctly. Is there a way to redraw a CustomGui ?
Thanks in advance!
Niklas