Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Ribeye on July 23, 2023, 08:51:53 pm
-
I am looking to add Diagram stereotype and to set / get tags values in my C# code.
It quickly becomes obvious there is no native methods on Diagram class for this. There is a helpful conversation on this problem here https://sparxsystems.com/forums/smf/index.php/topic,46478.msg271861.html#msg271861
There is a quote of Paulo "As described elsewhere, we have adopted the convention to use the diagram title block (the misnamed Diagram Element Note in Sparxian) to act as a proxy for the diagram."
Have spent too long googling and looking at EA books - where is "diagram title block / misnamed Diagram Element Note"? Cant find documentation, let alone reference in API docs
Thanks
-
Have spent too long googling and looking at EA books - where is "diagram title block / misnamed Diagram Element Note"? Cant find documentation, let alone reference in API docs
That's one of the problems with making up your own names for things. He's talking about the Diagram Notes element in the Common Elements page of the toolbox.
-
Have spent too long googling and looking at EA books - where is "diagram title block / misnamed Diagram Element Note"? Cant find documentation, let alone reference in API docs
That's one of the problems with making up your own names for things. He's talking about the Diagram Notes element in the Common Elements page of the toolbox.
Yes, my bad! I mistyped the Sparxian name for the element. But on the subject of own names for things, over 50 years agao when I was undertaking my Engineering Degree and WE drew diagrams on real paper with real ink, it was drummed into me that diagrams had Title Blocks (and I had to make sure they had one else, I would loose significant marks!) - there was NO mention of Diagram Notes!
It is still misnamed in EA.
Paolo