Loading...
Loading...
Revit 2026 API Documentation Query and Reference. Triggered when users ask about the usage of Revit API classes, methods, properties, enums, search for Revit development-related APIs, or need to confirm API signatures and parameters. Covered scenarios: (1) Query members and usage of specific classes/interfaces (2) Search for APIs required to implement a certain function (3) View method signatures and parameter descriptions (4) Understand namespace structure and inheritance relationships (5) Confirm the correct invocation method of Revit API. Keywords: RevitAPI, Autodesk.Revit, Element, Document, Transaction, FilteredElementCollector, ExternalCommand, ExternalApplication, Wall, Floor, FamilyInstance, FamilySymbol, Parameter, BuiltInParameter, BuiltInCategory, Selection, GeometryElement, Solid, Face, CurveLoop, Level, View, ViewSheet, XYZ, Line, Arc, IExternalCommand, IExternalApplication, UIApplication, UIDocument, Ribbon, PushButton, ExtensibleStorage, SubTransaction, TransactionGroup, ElementId, Reference, TaskDialog.
npx skill4agent add hopesy/skills revit-apiIUpdaterDocumentChangedFilteredElementCollectorIUpdaterUpdaterRegistryLinkedFileStatusRevitLinkTypeTransmissionDataRevit API + <technical concept>Search Example: "Revit API Dynamic Model Update IUpdater"
Search Example: "Revit API linked file update phase event"Important: It is forbidden to skip pre-research and answer ambiguous questions directly based on experience. Even if you think you know the answer, you must confirm it through pre-research and then verify it with this knowledge base.
| Question Type | Example | Execution Path |
|---|---|---|
| Query Specific API | "How to use XX class", "Parameters of XX method" | Path A |
| Browse Namespace | "What's in XX namespace", "Classes in XX module" | Path B |
| Find Member Attribution | "Which class has XX method", "Where is XX property" | Path C |
| General Development Question | "How to create a wall", "How to use transactions" | Path D |
python scripts/search_api.py search "keyword"python scripts/search_api.py class "Autodesk.Revit.DB.ClassName"python scripts/extract_page.py --type "Autodesk.Revit.DB.ClassName"python scripts/extract_page.py --id "P:Autodesk.Revit.DB.Wall.Flipped"
python scripts/extract_page.py --id "M:Autodesk.Revit.DB.Wall.Flip"python scripts/search_api.py namespacespython scripts/search_api.py namespace "Autodesk.Revit.DB"python scripts/search_api.py member "GetParameters"| Class | Namespace | Purpose |
|---|---|---|
| DB | Current Revit document, the entry point for all operations |
| DB | Base class for all model elements |
| DB | Unique identifier of elements |
| DB | Element query/filter (Must-learn) |
| DB | Transaction management for model modifications |
| DB | Wall element |
| DB | Floor element |
| DB | Family instance (doors, windows, etc.) |
| DB | Family type definition |
| DB | Read/write element parameters |
| DB | 3D coordinate point |
| DB | Geometric curves |
| DB | Geometric solids |
| DB | Level |
| DB | Views |
| UI | UI layer application object |
| UI | UI layer document (selection interaction) |
| UI | Command execution context |
| UI | Message dialog box |
| UI.Selection | User selection interaction |
Autodesk.Revit.DBAutodesk.Revit.UIAutodesk.Revit.ApplicationServicesAutodesk.Revit.CreationAutodesk.Revit.AttributesDB.ArchitectureDB.StructureDB.MechanicalDB.ElectricalDB.PlumbingDB.ExtensibleStorageDB.ExternalServiceDB.EventsUI.EventsDB.DirectContext3DDB.VisualAutodesk.Revit.Exceptionsdata/scripts/data/pages/*.jsondata/api_index.jsonbuild_index.pyextract_page.py--id