You might also post code snippets if you're still stuck.
q.
Will do tomorrow if I can't get it to work. Didn't have time to play with it anymore. This is on a classified computer so i'll have to copy some over manually.
We have some high level system functions that we have stored in DOORS. I have an export of that and am using the CSV import library via jscript. We have numbering id's for the functions I put into a tagged value, like 1, 1.1, 1.2, 2, 2.2, etc that I'm using to derive the structure. So I import/update all of the functions, then run an organize function. The organize function derives the parent for each element by finding the last '.' in the ID string, then grabbing the substring from 0 to that index. I have confirmed that I am importing, setting the tags, parsing the tagged values correctly, then searching for and finding the parent activity correctly.
The next step once I have the current element and the parent is pretty simple, and I'll try to remember the gist of it:
currentElement.ParentID = parentElement.ElementID;
// Have gone overboard here since I'm not super confident on what absolutely needs to be updated/refreshed, so some of this might be redundant
parentElement.Update();
currentElement.Update();
parentElement.Elements.Refresh();
thePackage.Elements.Refresh();
I think it would be useful to import these as Activities to use for functional analysis. We have a mapping between them and our build requirements, which are mapped to system requirements, which are mapped to system of system requirements, which are mapped to system of system functions.
The class I took used magicdraw, and the professor encouraged a more object oriented organization. So if you were starting from scratch, a high level activity(system function) would be created, then an activity diagram underneath it. You would define the subordinate activities within that scope, then instantiate their use within that scope within the activity diagram as actions. I could use packages instead, but to me what I described seems intuitive. If you could suggest a different approach that works better with EA, I'm open for suggestions.