'Is it possible to add linked documents to Stereotype?
I've tried to add text to a linked document of a Stereotype. Then I export the stereotype into a MDG technology and import on a new project. However, when I create an element of that stereotype I'm not getting the text I added in the linked document.
Am I missing something?
Solution 1:[1]
No, that is not possible.
A stereotype is not a template for a new element. You can't define default linked documents in a stereotype.
Solution 2:[2]
You need to write an add-in that will add the text on element creation. Use the EA_OnPostNewElement event for that.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Geert Bellekens |
Solution 2 | qwerty_so |