Show Posts

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.


Messages - qwerty

Pages: 1 ... 531 532 [533] 534 535 ... 653
7981
Basically what you need to do is to add some unique identifier to the CSV which is used in the relations.

id;req name;related to #

Then you create the elements in a first run. And in the 2nd run you look at the related to # and create a <<trace>> or whatever relation.

q.

7982
We once had this discussion here. The most versatile way is to use dedicated elements with tagged values. Using tables or even creating your own tables is possible but export via XMI is likely unsupported.

q.

7983
IIRC GetByName is not implemented for all collections. Just create a wrapper for it and you're done. That also gives you the possibility to react on duplicate name conditions.

q.

7984
Creating XMI is very complex and difficult. Further there are different implementations which hinder the exchange of UML models. You likely need to go through the try and error process.

q.

7985
Well, they need to be something different. An element can appear at more than one place and each place has different positions (at least it should be possible to make them different  ;)).

q.

7986
It should be an EADiagramObject which contains the element ID as reference.

q.

7987
Please remember to send a bug report...

q.

7988
I get the same error in V12 and consider that a bug. Manually you can create that connector. In V11 I don't have this issue!

q.

7989
The API layer covering the data model is not very thick in most cases. Exceptions of that rule exist as you see with the MDG/TV story. But in most cases you'll do yourself a favor getting acquainted with the data model and dealing with that directly. Of course: backup regularly!

q.

7990
There is no proper way for this case. Use automation or a SQL to find the TVs and change the value in the notes. Check if the value has already been set to the changed value and change it too.

q.

7991
Instead of adding them manually you need to synchronize the missing stereotypes (depends on the EA version you use). MDG stereotypes have some voodoo in t_xref you can not easily create via the normal API tag addition. See Repository.SynchProfile in the help.

q.

7992
Is this an automation question?

q.

7993
Code for C++:

Code: [Select]
CLSID clsid;
CLSIDFromProgID(L"EA.App", &clsid);
IUnknown *pUnk = NULL;
IDispatch *pDisp = NULL;
HRESULT hr = GetActiveObject(clsid, NULL, (IUnknown**)&pUnk);
if(SUCCEEDED(hr)) {
  hr = pUnk->QueryInterface(IID_IDispatch, (void **)&pDisp);
}

(from my Scripting book)

q.

7994
I think that is the main task of a modeler: creating elements (via the power of brain) and arrange them on diagrams (via power of hands) to please visual perception.

q.

7995
QL is tricky, especially when doing such "strange" things. I guess you need to cross fingers that one of the smart Sparxians is reading this and has an idea. Good liuck.

q.

Pages: 1 ... 531 532 [533] 534 535 ... 653