1
Bugs and Issues / Re: Removing DiagramLinks
« on: March 18, 2013, 03:43:21 pm »
ok thanks
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
QuoteHow would I add to TaggedValues a new TaggedValue of type refGUID (via code)?The easiest way would be to define a stereotype that applies the tagged value (this will have to be done in a profile). Then via code you just create a stereotyped element and it will be created with the tagged value.QuoteI didn't know you could restore an element that had been deleted from the model.Export a package to XMI, delete the package, re-import the XMI
Are you using "RefGUID" custom tagged value types? It appears that if you use one of those then the value is cleared if you delete the element that it references. (I just tried it)
[edit]This is how EA has worked since at least build 801. However, it probably shouldn't work that way. If you are referencing an element in a controlled package and you delete the element, the deleted element can be restored. When that happens, you would want all the referencing tagged values to still be referencing the element. We should probably fix this.[/edit]