InternalDefinition to ExternalDefinition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone.
I try to create plugin to transfer shared parameters from one family to next. Across FamilyManager I can get list of shared parameters in family and their Definitions.
Next, I try to add parameters in my family across FamilyManager.AddParameter method.
But I ran into a problem. Definition of parameter which I can get from Family is "InternalDefinition". But Definition for addition of parameter should be ExternalDefinition. I can't convert "InternalDefinition" to "ExternalDefinition".
I can easily get ExternalDefinition by SharedParametersFile, but how to get it from other family? The only way is to create a temporary txt-file, create shared parameter with GUID, and only then add shared parameter to next family?
Thank for answer.
Alexander Zuev
In BIM we trust
Facebook | Linkedin | Telegram