static public bool Run() { if (idlePending) { idlePending = _rhinoCore.DoIdle(); } var active = _rhinoCore.DoEvents(); if (active) { idlePending = true; } return(active); }
static bool Run() { if (idlePending) { Revit.ActiveDBApplication?.PurgeReleasedAPIObjects(); idlePending = core.DoIdle(); } var active = core.DoEvents(); if (active) { idlePending = true; } if (Revit.ProcessIdleActions()) { core.RaiseIdle(); } return(active); }
static bool Run() { CheckInGuests(); if (idlePending) { idlePending = core.DoIdle(); } var active = core.DoEvents(); if (active) { idlePending = true; } if (Revit.ProcessIdleActions()) { core.RaiseIdle(); } return(active); }