Revit .NET C# add-in to export parameter values for elements visible in current view
MIT License
Revit .NET C# add-in to export parameter values for elements visible in current view
Generate a count and a csv
of Revit parameters on elements in a view.
TypeId
)A small number of parameters are intentionally ignored as redundant:
Include parameters from both elements and their types, i.e., both instance and type parameters.
Actually, it's more complicated than that.
Anything that is visible in the view will include its instance and type parameters.
If an instance or a type has a parameter that refers to another Element
, its instance and type parameters are also exported, regardless of whether it is visible or not.
That is recursive, so if X references Y references Z references W, then W's parameters are exported if X, Y, or Z is visible.
We follow all references.
Who are we to say that a referenced Element
isn't useful?
To be verified:
The views to be processed are 3D views.
Standard Revit add-in installation, cf. Revit Developer's Guide Add-in Registration:
*.addin
and .NET assembly DLL
into the Revit AddIns
folder and restart RevitExternal Tools
→ RvtParamDrop
Jeremy Tammik, The Building Coder and The 3D Web Coder, Forge Platform Development, ADN Open, Autodesk Inc.
This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.