Notice that in this C# template for Application-level macros, Revit VSTA has already:
Included the necessary
Identified the
AppCSharp
Started the
ThisApplication
Started the methods for
Started your new macro's method, named
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:
directives
using
namespace
class definition
ThisApplication_Startup()
MyFirstMacroAppCS
and
ThisApplication_Shutdown()
, giving you the opportunity to add your
Creating Your First Set of Macros | 1347
Need help?
Do you have a question about the 24000-000000-9860 - Revit Architecture - PC and is the answer not in the manual?