THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/12/2011 at 01:33, xxxxxxxx wrote:
Cinema 4D Version:
since I'm not using a Dialong I'm wondering, if there is also the option for the interface, to set a timer or something like that.
The Idea is as soon as a button was pressed depending on the value in the combobox, it shall create new Interface objects. Is something like that possible?
The Other question is, is it possible to call GetContour form a Function?
Cause this variant isn't working
BaseContainer bc = op.GetDataInstance();
if (ButtonCreatePressed == true)
SplineObject bp = GenerateCircle(bc.GetReal(OBJ_RADIUS));
if (bp == null)
BaseContainer bb = bp.GetDataInstance();
OrientObject(bp, bc.GetLong(C4dApi.PRIM_PLANE), bc.GetBool(C4dApi.PRIM_REVERSE));
ButtonCreatePressed = false;
SplineObject bp = GenerateCircle(bc.GetReal(0));
ButtonCreatePressed is a Global bool, I've changed the value to true in the Message Function