Revit has exported AccuRender xdata for quite some time. This allows you to
simply export from Revit to dwg/dxf and then render using AccuRender for
Autocad. Materials, etc will be applied already to the acad geometry.
Revit 6.0 and above export additional, seperate xdata that is not AccuRender
specific. This information basically allows you to 'reconstitute' revit
objects after they've been exported to dwg/dxf. You can do some interesting
things with the info that is exported, ranging from visualization to linking
with revit object data (ODBC export).
Think about the case of a Revit wall - when you export from a 3d view, you
get 6 polyface meshes (one for each side of the wall). When you export from
a 2d plan view, you get 2d lines and hatch in the dwg. For better or for
worse these are lightweight, basic autocad entities - no object enablers for
revit. So what if you want to do interesting stuff with what was a
'higher-level' object in Revit but is now a set of lines, arcs and circles?
In both of these cases, the autocad entities now have additional xdata that
describe the revit object they came from. By collecting and sorting through
this information you can build other interesting behaviors (like linking the
acad geometry to a database, 3rd party app or rendering application).
The per-entity xdata Revit writes out is as follows (detailed info is
available via ADN):
- Revit Element ID - an invarient, unique ID (kind of like entity handles
in acad)
- Category - Top-level element classification (wall, roof, window, floor,
etc)
- Subcategory - Second-level element classification (frame vs glass in a
window)
- Type - Part of Revit's object heirarchy of Family : Type : Instance
(Window Double Hung : 36"x48")
- Material - the Revit/Accurender material assigned to the geometry
Revit also writes out Material definitions using the same XML schema as ADT
/ VIZRender and VIZ2005. The _basic_ material definition is translated and
written into the dwg.
So, using the entity xdata and the material definitions, the "Autodesk VIZ
2005 Revit Update" does some interesting things...<g>
We hope you'll like it.
matt jezyk
autodesk revit