- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I would like to register when the user of the Revit application zooms, pans or orbits around a drawing/model.
Or can I use the DocumentChanged Event to register only when the user has modified a drawing (i.e. editing), excluding zooming, paning or orbiting (i.e. visualizing)?
I am creating a Revit plugin in Visual Studio in C# to do so and before that, I have also been registering events such as when the user opens the aplication, using the ApplicationInitialized Event:
application.ControlledApplication.ApplicationInitialized += new EventHandler <Autodesk.Revit.DB.Events.ApplicationInitializedEventArgs>(application_Initialized);
(..)
Is there an event, or events, to register this kind of use of the application? For example, register which commands the user uses? Register when the user zooms, when the user creates a wall, when the user creates a new view, etc...
I had to do a similar plugin but for AutoCAD and CIVIL 3D and to do so I registered which commands the user was finishing.
Any help would be appretiated!
Solved! Go to Solution.