Expect API Changes
It is very likely that the Revit API will change in subsequent product releases. This means that after installing
the next Revit release, you will need to edit and rebuild your macros to reflect the API changes.
Revit VSTA Components
To create macros, you must install Revit VSTA on top of your existing Revit installation. The Revit product
and Revit VSTA versions must be the same.
You can use the Revit VSTA macro features in all Revit products: Revit Architecture, Revit Structure, and
Revit MEP. However, a separate Revit VSTA install, described in this topic, is required for each Revit product
in which you want to run macros. In this topic, we refer to any of these products generically as “Revit”
without a further qualifier.
Once installed, Revit VSTA provides:
■
New items on the toolbar’s Tools menu:
■
Tools
➤
Macros
➤
Macros
■
Tools
➤
Macros
➤
Launch VSTA IDE
■
Macro Manager, a user interface launched by the Tools
➤
Macros
➤
Macros menu option. Macro
Manager presents a list of macros you built previously that you can run, edit, or debug (StepInto). Macro
Manager also provides options to create new macros using different types of templates.
■
An Integrated Development Environment (IDE) built into the product, the Revit VSTA IDE. You can
launch it several ways:
■
Tools
➤
Macros
➤
Launch VSTA IDE
■
From the Macro Manager, by selecting the New, Edit, or StepInto buttons
■
Full access to the Revit API.
Workflow Overview: Initial Steps with Macros
The following diagram illustrates the initial steps with Revit VSTA and macro development:
1340 | Chapter 24 Creating Macros with Revit VSTA
Содержание 24000-000000-9860 - Revit Architecture - PC
Страница 1: ...Revit Architecture 2009 User s Guide April 2008 240A1 050000 PM02A ...
Страница 4: ......
Страница 56: ...18 ...
Страница 116: ...78 Chapter 3 Revit Essentials ...
Страница 172: ...134 Chapter 4 ProjectViews ...
Страница 178: ...Schedule with Grid Lines Schedule with Grid Lines and an Outline 140 Chapter 4 ProjectViews ...
Страница 352: ...Defining the first scale vector Defining the second scale vector 314 Chapter 7 Editing Elements ...
Страница 554: ...516 ...
Страница 739: ...Curtain wall Curtain Grid Curtain Walls Curtain Grids and Mullions 701 ...
Страница 898: ...Pile caps with multiple piles Rectangular and triangular pile caps 860 Chapter 12 Working with Structural Components ...
Страница 1004: ...966 ...
Страница 1136: ...1098 ...
Страница 1226: ...1188 ...
Страница 1250: ...1212 ...
Страница 1276: ...1238 Chapter 20 Design Options ...
Страница 1310: ...1272 ...
Страница 1366: ...1328 ...
Страница 1406: ...1368 ...