16
General Board / Re: Is it a good idea to store the UUID from another tool in the Keyword attribute?
« on: April 11, 2020, 12:10:31 am »
I use alias as an alternative name, where appropriate. A short name or acronym. This is something I have "always" done. Long before i heard of Sparx.
I would think this is what Sparx developers also had in mind, as there is a diagram option to show alias instead of name on shapes. (If an alias is defined.)
But now for a follow up question to my original ask.
How does one set a tagged value for a datatype, in a script?
I can do it manually. No problem! I tried on a datatype that was imported with the Sparx built in XML import. Just went to the Tags tab and created a new one.
But no matter how much I search I can't figure out how to do it in a script. There is no TaggedValues collection for class Datatype. How is it done?
Thanks,
Håkan Lidström
I would think this is what Sparx developers also had in mind, as there is a diagram option to show alias instead of name on shapes. (If an alias is defined.)
But now for a follow up question to my original ask.
How does one set a tagged value for a datatype, in a script?
I can do it manually. No problem! I tried on a datatype that was imported with the Sparx built in XML import. Just went to the Tags tab and created a new one.
But no matter how much I search I can't figure out how to do it in a script. There is no TaggedValues collection for class Datatype. How is it done?
Thanks,
Håkan Lidström