The Revit API is very simple.It is entirely event driven.Any and every use of the Revit API requires a valid API context.The most common and obvious way to get into a valid Revit API context and the most commonly used event is the one to launch an external command, which calls the IExternalCommand Execute handler method.Other important ones to be aware of are ApplicationInitialized and DialogBoxShowing, unconnected with any external command at all...
Click here to view the entire blog post.
Announcement
Collapse
No announcement yet.
Building Coder: Using Other Events to Execute Add-In Code
Collapse
X
Related Topics
Collapse
-
Some new topics, and, as always, some recurring Document session id Valid Revit API context and external events Determining RVT file version for DA4R...
-
Channel: Blog Feeds
November 11, 2020, 09:45 AM -
-
The Failure API enables both failure definition and handling capabilities The ability to define and post failures from within API code when a user-visible...
-
Channel: Blog Feeds
June 11, 2018, 09:15 AM -
-
For the past few years now, the development team has been adding various checks to prevent illegal use of Revit API entry points from outside a valid...
-
Channel: Blog Feeds
October 2, 2015, 02:15 PM -
-
Today I happily present a brilliant piece of Revit API news on the documentation side of things, and another handy utility method for your Revit API programming...
-
Channel: Blog Feeds
August 16, 2016, 01:15 PM -
-
Most of the work of the year has been done, and it is time to settle down and clear out for the new.Tomorrow is the winter solstice, followed by Christmas...
-
Channel: Blog Feeds
December 20, 2016, 09:18 AM -
Monumetric Footer In-screen
Collapse