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: 

Get family group of window

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
433 Views, 1 Reply

Get family group of window

Hi,

 

I want to get the family group name for instance of windows in this project.

So far I have tried using FamilyInstance.Name property but this gives me the name 2468x1585. How can I retrieve the group name (in this case 1+2+1 Panel vertical window + cell, baffle)?

 

 

slb66_1-1610205194800.png

 

WindowType.PNG

Thanks

1 REPLY 1
Message 2 of 2
architect.bim
in reply to: Anonymous

Actually this is not "group name". It is family name. So you need to get Family object first. And then retrieve its name:

 

family_instance.Symbol.Family.Name

 

 


Maxim Stepannikov | Architect, BIM Manager, Instructor

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

Post to forums  

Autodesk Design & Make Report