Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: naxx on September 12, 2016, 08:12:47 pm
-
Hello,
Can you tell me, if exists some rules according to Enterprise Architect generated element´s GUID?
Thanks for your answers.
-
any standard GUID will do
Geert
-
GUIDs of packages and their element pendant are identically. There is another quirk where the GUID contains context information (somewhere with parameters??, TVs?? or so) but the details slipped my mind. But else you can use any GUID generator as Geert said.
q.
-
In terms of format, I think they all need to be brace-enclosed, hyphen-separated 8-4-4-4-12 groups ("B" format in .NET Guid.ToString() (https://msdn.microsoft.com/en-us/library/97af8hh4(v=vs.110).aspx)).
So if you're using a GUID generator, go with one that can deliver that format.
/Uffe