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: 

Difference between FamilySymbol and ElementType?

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
garrett
3290 Views, 4 Replies

Difference between FamilySymbol and ElementType?

Both FamilySymbol and ElementType seem to represent the same idea.  What is the difference between the two?  (I know one derives from the other)


A related question is: what's the difference between Element and FamilyInstance?  I can't understand why stairs are of class Stairs (derived from Element), while doors are of class FamilyInstance.  Are stairs not an "instance" of a particular "family"?

4 REPLIES 4
Message 2 of 5
jeremytammik
in reply to: garrett

Families come in several flavours.

 

The two main ones are standard and built-in.

 

Standard are defined in RFA family definitions.

 

Built-in are built into Revit directly.

 

Standard families define family symbols, and when you place a family symbol, it is represented by a family instance.

 

Other elements placed in the model are not called family instances; they are just elements.

 

Element is a super-class of FamilyInstance.

 

Analogously, ElementType is a superclass of FamilySymbol.

 

I hope this explains.

 

For more info, check the developer guide:

 

http://help.autodesk.com/view/RVT/2019/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_E...

  

Revit Developer's Guide

 

Cheers,

 

Jeremy

 



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

Message 3 of 5
garrett
in reply to: jeremytammik

Ah, that's very helpful, thank you for the explanation and links!

Message 4 of 5
jeremytammik
in reply to: garrett

Thank you for your appreciation!

 

Shared for posterity by The Building Coder:

 

https://thebuildingcoder.typepad.com/blog/2018/12/dynamo-symbol-vs-type-and-exporter-exception.html#...

 

Cheers,

 

Jeremy

 



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

Message 5 of 5
hrasmussen
in reply to: jeremytammik

Jeremy,
If I had to guess, I'd say you've been the guy with the answer to about 80% of my Revit API questions - thanks for all your posts (this one included)!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community