Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66683

Loading rfa and accessing family instance

$
0
0

Hi all,

 

I'm using UIApplication.ActiveUIDocument.Document.LoadFamily to load an *.rfa file into a project and I'm wondering if there is a better way to access the FamilyInstance and FamilySymbol of the loaded Family rather than using a FamilyInstanceFilter and FilteredElementCollector and using a foreach to access these every time a new *.rfa file is loaded?

 

 

I know what I'm doing is inefficient, but I can't think of another way.

 

 

Cheers,

Adam


Viewing all articles
Browse latest Browse all 66683

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>