How to hide the symbol number on PowerDesigner?

守給你的承諾、 提交于 2019-12-11 03:21:26

问题


In Sybase PowerDesigner, when designing an UML diagram that takes 2 copies/instances of the same XXXX object (ie. objects), the application adds a number identifier like "XXXX : 2" to that symbol. Is it possible to remove it?

Thanks in advance!


回答1:


It does not seem to be directly doable.

However, (somewhat tested with 16.0), you can add an Extension to your model, define a computed attribute (type String) on your object type, returning the object name:

%Get% = obj.name

and use Tools > Display Preferences > xxx > Advanced to modify the symbol contents, and use your computed attribute instead of Name...




回答2:


V 16.5

You can do that: 1. Select the Relationship 2. Right Click - Format 3. Click Content Tab 4. Go to Centre Section 5. Check "None", Keep "Stereotype" checked



来源:https://stackoverflow.com/questions/7841561/how-to-hide-the-symbol-number-on-powerdesigner

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!