Book a Demo

Author Topic: Shape size and selection box  (Read 4530 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Shape size and selection box
« on: March 09, 2015, 10:56:36 pm »
Hello,


I need to create a small element shape, about the same size as a Port but for a proper non-embedded element type.

I can draw a smaller rectangle in the main shape, but if I then select an element with that stereotype in a diagram the selection box fills out to the regular element size.

Is there some property I can set to change the actual size of the element shape script drawing canvas?

Cheers,


/Uffe
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Shape size and selection box
« Reply #1 on: March 09, 2015, 11:15:27 pm »
I remember there was something - but what was it  :-/

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Shape size and selection box
« Reply #2 on: March 10, 2015, 09:22:24 am »
Do you mean something like this?

Code: [Select]
shape main
{
      defsize(16,16);
      rectangle(0,0,100,100);
}
The Sparx Team
[email protected]

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Shape size and selection box
« Reply #3 on: March 10, 2015, 11:25:16 pm »
Quote
Do you mean something like this?
No. Not what's clearly documented in the help file. No way. Definitely not. Uh-uh. Negatory. Under no circumstances. Read my lips. Not it. In no way, shape or form. Nowhere near. Absolutely and unequivocally not.

Also: thanks, KP.  :-[
My theories are always correct, just apply them to the right reality.