Anuncios
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!

Determine if Revit API is available immediately

It would be nice if Revit IExtenralEvent.Raise method had another variant like:

 

bool IExternalEvent.RaiseImmediate();

 

which would return true if it was able to raise the event and false otherwise. That way plugins can make accurate and immediate decisions as to what information to present to the user.

(from @Anonymous in this thread)

Comentarios
Enthusiast
Enthusiast

Alternatively, could you raise events when some edit mode starts or ends and/or provide some property to check if Revit is in edit mode.