Message 1 of 2
Reload Family (Python)

Not applicable
03-21-2016
05:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm having some difficulties with reloading a family i'm editing from within a project file.
this is what i want to do:
famDoc.LoadFamily( doc )
I'm getting the expected failure because the family is already loaded, but i want to overwrite it.
i need the IFamiliesLoadOption, and from what i can find on the web i need to add a new function to the class.
i've found these websites on the topic:
http://thebuildingcoder.typepad.com/blog/2011/06/reloading-a-family.html
http://adndevblog.typepad.com/aec/2012/06/reloading-an-already-loaded-family.html
however, both sources are in C#, a language i have no experience in. I'm making my code in python.
Can someone explain to me what i need to do (preferably in Python so i can actually read it).