THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/01/2005 at 14:05, xxxxxxxx wrote:
Cinema 4D Version: 9
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
Having added an EditNumber field to my plugin layout, I decided to set the max and min values with:
SetFloat(310014, 20, 1, 500, 1);
When running the plugin, If I try to enter values greater than 500, I receive a dialog with a warning that states I should enter a values less than 500 or greater or equal to 1, so far so good, but the plugin still runs with the wrong value and crashes Cinema. Ist there a way to clamp values in an EditNumber field by creation?