Message 1 of 3
adaptive component internal error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All, I'm writing an plugin to be executed as an externalcommand, and I'm running into a problem, below are the lines of code.
Dim fam As FamilySymbol = M_Doc.GetElement(obj.Id)
Dim comp As FamilyInstance = AdaptiveComponentInstanceUtils.CreateAdaptiveComponentInstance(M_Doc, fam)
m_doc is a valid current document
obj.id is a valid id for a familysymbol
when the code reaches the second line "dim comp..." it throws an exception "an internal error has occured"
Any idea as to why it would be happening? Any input would be greately appreciated.
Thanks,