Book a Demo

Author Topic: Shape script: Fixed size on compartment  (Read 5116 times)

Hurra

  • EA User
  • **
  • Posts: 184
  • Karma: +0/-0
    • View Profile
    • Find me at LinkedIn!
Shape script: Fixed size on compartment
« on: April 18, 2017, 06:40:41 pm »
Hello!

I would like to have the size of a vertical compartment on the left side fixed.


| xxx| ...............|
| xxx| ...............|
| xxx| ...............|
| xxx| ...............|

Extend the width would be:

| xxx| ..............................|
| xxx| ..............................|
| xxx| ..............................|
| xxx| ..............................|

My shape script today has two rectangles with 10% respectively 90%, this will be extended when the width is extended.

I hope you understand and thanks for your help!
always learning!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Shape script: Fixed size on compartment
« Reply #1 on: April 18, 2017, 07:09:36 pm »

Hurra

  • EA User
  • **
  • Posts: 184
  • Karma: +0/-0
    • View Profile
    • Find me at LinkedIn!
always learning!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Shape script: Fixed size on compartment
« Reply #3 on: April 18, 2017, 08:54:47 pm »
See these shapescripts:https://github.com/GeertBellekens/Enterprise-Architect-Shapescript-Library/tree/master/RM%20Requirements
They all have a fixed left side like you describe.

Geert