Also see the Revit VSTA samples that are part of the SDK. You can find them under:
\Revit <release> SDK\VSTA Samples\...
The next section explains how to integrate the VSTA Samples into your Revit VSTA projects.
Using the Revit VSTA Samples from SDK
You can learn various API techniques by using the Revit VSTA samples provided with the SDK. Copy and
open the following Revit project file:
\Revit <release> SDK\VSTA Samples\Revit_VSTA_Samples.rvt
Included in this .rvt are a number of Document-level macros. In Revit, start Macro Manager, select one of
the Document-level macros, and choose Run. Note that when you open Revit_VSTA_Samples.rvt from the
SDK, it may contain more samples than the ones shown in the following screen, and the macro methods
may be named differently.
1354 | Chapter 24 Creating Macros with Revit VSTA
Need help?
Do you have a question about the 24000-000000-9860 - Revit Architecture - PC and is the answer not in the manual?
Questions and answers