Giter VIP home page Giter VIP logo

rvtparamdrop's Introduction

RvtParamDrop

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.

  • Do not limit yourself to shared parameters
  • Do limit yourself to parameters with a value
  • Name of the parameter
  • Schema (TypeId)

A small number of parameters are intentionally ignored as redundant:

  • ELEM_CATEGORY_PARAM
  • ELEM_CATEGORY_PARAM_MT
  • ELEM_FAMILY_AND_TYPE_PARAM
  • ELEM_TYPE_PARAM
  • SYMBOL_ID_PARAM

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:

  • All elements of interest and all their references are included
  • All parameter values of interest were included
  • For each parameter value, all required data fields were included

The views to be processed are 3D views.

Installation

Standard Revit add-in installation, cf. Revit Developer's Guide Add-in Registration:

  • Copy the add-in manifest *.addin and .NET assembly DLL into the Revit AddIns folder and restart Revit
  • Click the menu entry under External Tools โ†’ RvtParamDrop

Todo

  • Define precision for floating point numbers.

Author

Jeremy Tammik, The Building Coder and The 3D Web Coder, Forge Platform Development, ADN Open, Autodesk Inc.

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

rvtparamdrop's People

Contributors

jeremytammik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.