Author Topic: v17 - setlinestyle("DOUBLE") - only for Connectors?  (Read 3887 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8595
  • Karma: +256/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
v17 - setlinestyle("DOUBLE") - only for Connectors?
« on: November 21, 2024, 12:33:27 pm »
We've found several defects in our recent attempts at rationalising shapescripts.  This post is more of a question.  The setlinestyle("DOUBLE"); call doesn't work for shapes; it only works for connectors.  The only example shown is for a connector, but there is NO explicit clarification that it only works for connectors.
So is it a functionality defect (i.e. it should work for shapes), or is it a documentation defect (i.e. the documentation to clarify it is for connectors only is missing)?

Reported,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8054
  • Karma: +118/-20
    • View Profile
Re: v17 - setlinestyle("DOUBLE") - only for Connectors?
« Reply #1 on: November 26, 2024, 02:06:53 pm »
Documentation. It's only supported for connectors.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8595
  • Karma: +256/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: v17 - setlinestyle("DOUBLE") - only for Connectors?
« Reply #2 on: November 26, 2024, 10:24:29 pm »
Documentation. It's only supported for connectors.
Thanks, Eve,
As I suspected.  But it's good to know.   We'll amend our shape scripts.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Rik van der Schalie

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: v17 - setlinestyle("DOUBLE") - only for Connectors?
« Reply #3 on: November 28, 2024, 09:13:13 pm »
"Double" also works for LineTo, but not for Arc(To). And the spacing between the two lines is fixed.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8595
  • Karma: +256/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: v17 - setlinestyle("DOUBLE") - only for Connectors?
« Reply #4 on: November 28, 2024, 09:53:36 pm »
"Double" also works for LineTo, but not for Arc(To). And the spacing between the two lines is fixed.
Thanks, Rik, good to know!

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

skiwi

  • EA Expert
  • ****
  • Posts: 2080
  • Karma: +46/-82
    • View Profile
Re: v17 - setlinestyle("DOUBLE") - only for Connectors?
« Reply #5 on: December 05, 2024, 05:38:18 am »
Documentation. It's only supported for connectors.
But why?
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13233
  • Karma: +553/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: v17 - setlinestyle("DOUBLE") - only for Connectors?
« Reply #6 on: December 05, 2024, 08:30:05 pm »
Hi All

Thousand apologies, please ignore my previous post.

I posted in error to the wrong thread!

Phil
Phil, do you know you can remove your own posts? on the top right of your post should be a "Remove" button.

Geert