Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: mvinca on April 27, 2010, 03:24:21 am
-
Is there a list of all the types that Collection.AddNew() allows as the second parameter?
-
I haven't found one, but there's already a list of all element types in the documentation of Element.Type.
I'm afraid it's going to be a bit of trial and error.
Geert
-
I know this is a wicked old topic...
So Mr. Geert I am using your TFS Connector and I am stepping through your code to find out the format of the EA Type. I found the list you point to of types but how do I include Stereotypes in the textbox. it says type/stereotype. when I try Class/Epic it does not work. If I try just Epic it also breaks.
What is the format of the type that the collection.AddNew Method accepts?
Chris
-
The textbox accepts both stereotypes as element types.
Later in the code I figure out which is which and take the appropriate action.
I do believe the stereotypes have to be fully qualified like "Archimate2::ArchiMate_Requirement"
Geert
-
I think that is exactly what I was looking for. I could not find the fully qualified path. Thanks
PS: could put the format in the textbox label :)