Message 1 of 8
How to load Revit file in API using C#?

Not applicable
05-09-2017
12:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to load the *.api file in C# code. I am trying to export the images from Revit file for specific views in the c# application. The issue is to get the ExternalCommandData from the revit (*.rvt) file.
public Autodesk.Revit.UI.Result Execute(ExternalCommandData revit, ref string message, ElementSet elements) { UIApplication uiapp = revit.Application; }
I want to browse *.rvt file and call above method from the Windows form.
Please help asap.
Thank You