線上操作手冊
http://help.autodesk.com/view/RVT/2016/CHT/?guid=GUID-F0A122E0-E556-4D0D-9D0F-7E72A9315A42
All Autodesk Revit-based products are Parametric Building Information Modeling (BIM) tools.
Autodesk Resources:
- http://www.autodesk.com/products/autodesk-revit-family/overview
- http://www.autodesk.com/bim/
- http://forums.autodesk.com/t5/Revit-API/bd-p/160
- http://www.revitcity.com/
- http://forums.augi.com/forumdisplay.php?93-Revit
- http://www.revitinside.com/
- ------------------------------------------------------------------------------
Revit API 適合做那些事?
Creating add-ins and macros to automate repetitive tasks in the Autodesk Revit user interface
Enforcing project design standards by checking for errors automatically
Extracting project data for analysis and to generate reports
Importing external data to create new elements or parameter values
Integrating other applications, including analysis applications, into Autodesk Revit products
Creating Autodesk Revit project documentation automatically
Revit API 面積計算
Revit API 自動接合
External Resources:
- ------------------------------------------------------------------------------
Any .NET based application will reference the RevitAPI.dll and the RevitAPIUI.dll located in the Revit Program directory.
The RevitAPI.dll contains methods used to access Revit's application, documents, elements and parameters at the database level.
The RevitAPIUI.dll contains the interfaces related to manipulation and customization of the Revit user interface
- ------------------------------------------------------------------------------
開發環境需求
需要在 Microsoft .NET Framework v4.5. 平台開發
建議Microsoft Visual Studio 2012 Professional
不須debug的話, 可以在Express版本
專案需參考RevitAPI.dll and RevitAPIUI.dll (路徑為Revit程式目錄)
------------------------------------------------------------------------------
基礎課程
Add-in Integration - Discusses how an add-in is integrated into the Revit UI and invoked by user commands or specific Revit events such as program startup.
Application and Document - Application and Document classes respectively represent the Revit application and project file in the Revit Platform API. This chapter explains basic concepts and links to pertinent chapters and sections.
Elements Essentials - The bulk of the data in a Revit project is in a collection of Elements. This chapter discusses the essential Element mechanism, classification, and features.
Filtering - Filtering is used to get a set of elements from the document.
Selection - Working with the set of selected elements in a document
Parameterss - Most Element information is stored as Parameters. This chapter discusses Parameter functionality.
Collections - Utility collection types such as Array, Map, Set collections, and related Iterator
------------------------------------------------------------------------------
依照元件種類分類的課程
Elements are introduced based on element classification. Make sure that you read the Elements Essentials and Parameter chapters before reading about the individual elements.
Editing Elements - Learn how to move, rotate, delete, mirror, group, and array elements.
Wall, Floors, Roofs and Openings - Discusses Elements, their corresponding ElementTypes representing built-in place construction, and different types of Openings in the API.
Family Instances - Learn about the relationship between family and family instance, family and family instance features, and how to load or create them.
Family Creation - Learn about creation and modification of Revit Family documents.
Conceptual Design - Discusses how to create complex geometry and forms in a Revit Conceptual Mass document.
Datum and Information Elements - Learn how to set up grids, add levels, use design options, and more.
Annotation Elements - Discusses document annotation including adding dimensions, detail curves, tags, and annotation symbols.
Sketching - Sketch functions include 2D and 3D sketch classes such as SketchPlane, ModelCurve, GenericForm, and more.
Views - Learn about the different ways to view models and components and how to manipulate the view in the API.
Material - Material data is an Element that identifies the physical materials used in the project as well as texture, color, and more.
------------------------------------------------------------------------------
進階課程
Geometry - Discusses graphics-related types in the API used to describe the graphical representation of the model including the three classes that describe and store the geometry information.
Place and Locations - Defines the project location including city, country, latitude, and longitude.
Shared Parameters - Shared parameters are external text files containing parameter specifications. This chapter introduces how to access to shared parameters through the Revit Platform API.
Transaction - Introduces the two uses for Transaction and the limits that you must consider when using Transaction.
Events - Discusses how to take advantage of Revit Events.
Dynamic Model Update - Learn how to use updaters to modify the model in reaction to changes in the document.
Failure Posting and Handling - Learn how to post failures and interact with Revit's failure handling mechanism.
Analysis Visualization - How to display analysis results in a Revit project.