Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where to access properties for objects

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
500 Views, 2 Replies

Where to access properties for objects

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?

2 REPLIES 2
Message 2 of 3
jeremytammik
in reply to: Anonymous

Please work through the Revit API getting started material and all will become clear:

 

https://thebuildingcoder.typepad.com/blog/about-the-author.html#2

  



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 3
sragan
in reply to: Anonymous

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.

Post to forums  

Autodesk Design & Make Report