Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: DanaMaxwell on May 07, 2018, 10:46:49 pm
-
I have access to a SWBS in a Doors Module and would like to import it as a SWBS. Problem is, when importing from DOORS it will only create requirements. Is there a way to convert the elements to <<Blocks>>?
Thanks
-
Design/Element/Manage/ChangeType should allow you to convert it to a class. Afterwards you can assign e.g. sysml:bock stereotype.
-
As you have mentioned you are trying to import.
Writing a script to convert will work for bulk convert
You can refer local scripts -> manage element extras.
Even you can export to excel and import as block using MDG office
-
Thanks for the tip.
I am using VB and am looking at a hierarchy of requirements. On a given element I am getting IsLeaf False which makes sense because I know there are other requirements below it on the structure (I can see/navigate to them in the browser) but I cannot find Elements, Requirements or RequirementsEx. Count is = 0 for all three? How do I navigate down to these requirements?
Thanks
-
How are they connected? Through hierarchy? Then use Element.Elements to get the collection of contained elements. If the are associated use Element.Connectors to find the related elements via the connectors.
q.