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: 

Distinction between loadable and placeable families

1 REPLY 1
Reply
Message 1 of 2
admin
280 Views, 1 Reply

Distinction between loadable and placeable families

Hi 

 

Is there a definition in the Revit API which distinguishes between which families can be loaded and placed in the scene and those which canlonely I be loaded?

 

An example would be curtain wall panels. It is possible to loadtheirs family into Revit bplan instance cannot be placed.  Instead the user must swapIan existing curtain panel for the newly loaded family.

 

We are looking for some way of identifying these families via the API so that our tools don't automatically load them into the scene and attempt to place them (which currently breaks the plugin). If there is some way of identifying these itemsTia the API we would like to use it.

 

Thanks

 

Chris

Tags (2)
1 REPLY 1
Message 2 of 2
Joe.Ye
in reply to: admin

 

I don't think there is a direct property or method that can tell you which family can be loaded and placed to the active view or your scene.

 

The workaround is that you need to build a list of the family categories which can be loaded and placed. 

 

Then when deciding if place the instance, you check the list if this family's category is in the list.

Otherwise the family instance cannot be placed.

 



Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network

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