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

doc.EditFamily() Python

$
0
0

First of all this is probably a noob question, but i've been unable to find it anywhere on the forum; 

I can't seem to use doc.EditFamily() on a loaded family with succes. the TypeError that keeps coming up is "Cannot create instance of Family because it has no public constructors". 

 

i have a testcase: 

 

 

family_name = "GM_test.rfa" 

 

how do i create a reference to the family from within the project file so that it opens the Family Editor? 

if someone could explain me how to use the doc.EditFamily using the given family name, that would be much appreciated. 

 

 


Viewing all articles
Browse latest Browse all 66692

Trending Articles



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