Document.EditFamily slow performance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I have a strange experience: when using the Document.EditFamily method, it performs very slowly when invoked from a WPF dialog. In contrast to it, when using the same method in the RevitLookup API sample (which uses Windows Forms), that method executes in a snap. Beyond that, I also experience that the Revit GUI is flashing (performs some screen updates when calling the method), which do not happen in RevitLookup. Can someone explain what could happen in the background?
The reason why I use this method because I have to access some information stored in the Family (actually I use ElectricalConnectors, which contain the Connector Description parameter, I have to access that value).
Does anybody know any alternate way to access the content of the Family other than the EditFamily method? (Read-only access is enough).