Hi. I am looking to create an application which will extract information about objects, such as doors, walls, rooms, windows etc. I will need to extract their dimensions, materials, ratings etch. as well as custom properties.
How will i know where to find these properties?
My intuition tells me to just collect all elements of type window, as an example, and getparameters on each of them, but after learning about elements, families, symbols and familyinstances, i am unsure as to where to access which information.
Is there some kind of guide as to where to access which information, or how do i know where do get it?
Please work through the Revit API getting started material and all will become clear:
https://thebuildingcoder.typepad.com/blog/about-the-author.html#2
Elements have type parameters and instance parameters, and you get these differently. There are also shared parameters, and those are different also.
After you go thorough some of the Getting Started material Jeremy suggested, you should install the Revit "Built In Parameter Checker". That will show you which parameters are available for any elements. I've attached an example screenshot below.
There is also some examples here under "Get a Parameter":
Revit API - Code Examples April 15, 2018 (google.com)
Can't find what you're looking for? Ask the community or share your knowledge.