Notice that in this C# template for Application-level macros, Revit VSTA has already:
■
Included the necessary
using
directives
■
Identified the
AppCSharp
namespace
■
Started the
ThisApplication
class definition
■
Started the methods for
ThisApplication_Startup()
and
ThisApplication_Shutdown()
■
Started your new macro's method, named
MyFirstMacroAppCS
, giving you the opportunity to add your
implementation code between the braces
Also note in the following screen how the Revit VSTA Project Explorer shows your context. You are editing
ThisApplication.cs:
Creating Your First Set of Macros | 1347
Summary of Contents for 24000-000000-9860 - Revit Architecture - PC
Page 1: ...Revit Architecture 2009 User s Guide April 2008 240A1 050000 PM02A ...
Page 4: ......
Page 56: ...18 ...
Page 116: ...78 Chapter 3 Revit Essentials ...
Page 172: ...134 Chapter 4 ProjectViews ...
Page 178: ...Schedule with Grid Lines Schedule with Grid Lines and an Outline 140 Chapter 4 ProjectViews ...
Page 554: ...516 ...
Page 739: ...Curtain wall Curtain Grid Curtain Walls Curtain Grids and Mullions 701 ...
Page 1004: ...966 ...
Page 1136: ...1098 ...
Page 1226: ...1188 ...
Page 1250: ...1212 ...
Page 1276: ...1238 Chapter 20 Design Options ...
Page 1310: ...1272 ...
Page 1366: ...1328 ...
Page 1406: ...1368 ...