Book a Demo

Author Topic: Use element attributes iin image method  (Read 2931 times)

jakob

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Use element attributes iin image method
« on: May 27, 2011, 02:08:27 am »
Hi,

I'm using custom images for all my stereotypes that a dislayed using a shapescript. As I don't want to edit the shapescript of each stereotype manually I tried using something like this:

Code: [Select]
image("MyProfil::#metatype#.emf",0,0,100,100);
All the images (MyProfil::#metatype#.emf) are available in the image manager. But EA doesn't seem to resolve the #metatype# string. Is it only possible to use this construct in print* methods? Or can I use it in other methods like "image", too?

Thanks,
Jakob

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Use element attributes iin image method
« Reply #1 on: May 27, 2011, 08:48:09 am »
It's only valid in print methods and queries.