Autodesk Developer Network 2011
Autodesk
Revit 2012 API Modifications and Updates
§.NET Framework 4.0
§No .ini file add-in loading
§Vendor identification tag
§Manual regeneration mode
§Compound structure and wall sweeps
§Line and fill patterns
§Independent tag
§Import and export APIs
§Save and close API changes
§Reference properties
§Event changes
§Move/Mirror/Rotate/Array changes
§Structural analytical model and rebar changes
C:\Documents and Settings\walmslk\Local Settings\Temporary Internet Files\Content.IE5\EARWAUQM\MPj04096740000[1].jpg
Revit 2012 API has been enhanced to run with MS .NET framework 4.0
INI files can no longer be used to load plug-ins
In manifest files, it is now mandatory to provide vendor information via vendor id.
Automatic regeneration mode has been removed
The new compound structure API covers all the data that is visible in Revit’s user interface related to walls layers and compound structure
The wall sweeps API covers the sweeps inside compound structure as well as standalone sweeps
The line pattern and fill pattern classes have been replaced – the old classes contained the line pattern itself and the element that contained it, now we have explicit classes for the line pattern, the element that contains it besides Create method for these
Good portion of the Independent tag have been renovated besides some new methods which help access the Id of the element referenced by a tag.
The import and export APIs require view inputs
Save and close APIs have been changed to logically split the DB only and the UI
Reference properties are being renovated to be closely aligned to native Revit class it represents thus making it easy for code generation
Similar changes/renovations to the Events, Move, Mirror, Rotate and Array APIs
Structural Analytical and Rebar changes will be covered in this presentation