Page 1 of 1

Custom element shape or icon

PostPosted: Sat Dec 02, 2017 11:21 am
by Isaac.Steinbeck@tu-harburg.de
Hello Community,
I am a newbie to MagicDraw Cameo Systems Modeler but I am getting it slowly. But now I have an issue for which I need a little help. Is it possible to build custom element shapes or icons, with the purpose to fill in text within the icons or shapes?
I managed to build custom elements through stereotypes and customizations but when I used my custom elements I realized, that I'm not able to put text within the icon but below. I attached a picture for better understanding. I hope somebody can help me with this issue, would be really great.

Kind regards
Isaac

Re: Custom element shape or icon

PostPosted: Tue Dec 05, 2017 12:59 am
by Rolandas
Hello,

There is no OpenAPI to create new custom shape elements. Also what elements you trying to display different? Class'es, Block's or different elements?
You always can apply your image to shape and display it instead of the shape element. So you could create what you want in an image and then set it as shape image and show it.


Regards,
No Magic Support Team

Re: Custom element shape or icon

PostPosted: Wed Dec 06, 2017 11:54 am
by Isaac.Steinbeck@tu-harburg.de
Thx for the reply Rolandas. Basically those elements would be Classes. Thank you for your advise on the shape image, but I already managed to display my custom icons insteadt of the shapes. It would have been pretty cool, if I could use my "images" as shapes to insert a text within them, just like when a Use case-element is used. But since thats not possible I have to live with it and its fine.

Regards,
Isaac

Re: Custom element shape or icon

PostPosted: Thu Jun 25, 2020 8:53 am
by Dave Banham
I have the same question: In my DSL I want to change the shape of the underlying class meta-type such that the name of the DSL element is displayed within the bounds of the DSL symbol shape, e.g. circle, ellipse, rhombus, parallelogram, rectangle, etc.

Re: Custom element shape or icon

PostPosted: Sun Aug 22, 2021 11:27 pm
by stademunta@gmail.com
Your article is valuable for me and for others. Thanks for sharing your information.


skylight paycards