Book a Demo

Author Topic: shape scripting  (Read 2656 times)

Graham_Labdon

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
shape scripting
« on: July 08, 2008, 10:59:20 pm »
Hi All

OK so I've created a new stereotype and added a shpescript so an alternative image is displayed.

When I use the stereotype the name of the object is now missing - all I see is the image.

How do I get the name of the object ?

I have played with print("#NAME#") - but this puts the text at to of image, so how do I get it at bottom as displayed for normal objects.

Thanks for any help :D

Graham

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: shape scripting
« Reply #1 on: July 09, 2008, 08:29:44 am »
Try adding
Code: [Select]
v_align = "bottom"; to the start of your script.  (See http://www.sparxsystems.com.au/EAUserGuide/index.html?shape_attributes.htm)