Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Tehila1 on April 01, 2015, 12:12:25 am
-
Hello,
I would like to create a custom toolbox of Visio elements within Enterprise Architect.
Using the profile helper, I found it is quite complex to set the shape of custom element with a shape script.
Is there a better way to set the shape (e.g. from image file)?
Thanks in advance.
-
You can use the Image function of shape script.
q.
-
You can use the Image function of shape script.
q.
Thanks.
Any example / link?
I couldn't find such in the sample scripts.
-
You can use Image(imageName,left,top,right,bottom) where imageName is the name of the image you have imported in the reference data and the rest are the coordinates. The image will be scaled with the element.
(You might also have a look in my Shape Script book)
q.