Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: semmel on October 09, 2007, 07:27:35 am
-
Hi,
I am trying to use the Metatype Attribute _defaultDiagramType
with the Type = String
and the initial Value = Logical
its not working what ever I try.
Has someone experience in using these Attributes in a Profile and can give me a hint ?
regards
Martin
-
Make sure you've added the attribute to the metaclass, not the stereotype. Then it won't create automatically unless you have also set _makeComposite as true.
-
That's what I already did, but nevertheless I get some strande behavior. If I only added _makeComposite it works fine creating a diagram, but its a composite diagram. If I additionally add the _defaultDiagramType, no diagram is created any longer. Only the composite flag in the created element is set. ?
-
The DateTime type is also not functioning when used in a stereotype Profile. But this is functioning when just creating a new Tagged value via Settings/UML/TaggedValueTypes dialog.
-
Martin,
Please raise formal bug reports on each of these defects, just as you've explained them.
Search my recent posts for a best practice we use to issue bug reports or feature requests and keep both Sparx and the user community in the loop.
David
-
Martin, when reporting your bug to Sparx, please attach either a screenshot of your profile diagram or an XMI export of your profile package. These will help to reproduce the problem. Cheers :)