Add Required References
If your macro presents a user interface, you will need to add required references to your project. For example,
in the Rooms sample, we need to reference:
1
System.Windows.Forms
2
System.Drawing
Starting in Macro Manager, select the project type and click Edit.
In the IDE, go to the Project Explorer. Be default it is docked on the right side of the display.
For the macro project (example:
AppCSharp
), right-click on the References section and select Add Reference
from the menu.
In the Add Reference dialog, find and select
System.Drawing
and
System.Windows.Forms
on the list. Hold
down the Ctrl key to do the multi-select operation. For example:
When you are ready, click OK.
The IDE's Project Explorer is updated with the references:
Create Folders in Revit VSTA IDE
In the IDE's Project Explorer, right-click on the macro project, and select Add
➤
New Folder from the menu.
For example:
1356 | 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 ...