Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Paolo F Cantoni on November 21, 2024, 12:33:27 pm

Title: v17 - setlinestyle("DOUBLE") - only for Connectors?
Post by: Paolo F Cantoni 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
Title: Re: v17 - setlinestyle("DOUBLE") - only for Connectors?
Post by: Eve on November 26, 2024, 02:06:53 pm
Documentation. It's only supported for connectors.
Title: Re: v17 - setlinestyle("DOUBLE") - only for Connectors?
Post by: Paolo F Cantoni 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
Title: Re: v17 - setlinestyle("DOUBLE") - only for Connectors?
Post by: Rik van der Schalie 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.
Title: Re: v17 - setlinestyle("DOUBLE") - only for Connectors?
Post by: Paolo F Cantoni 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
Title: Re: v17 - setlinestyle("DOUBLE") - only for Connectors?
Post by: skiwi on December 05, 2024, 05:38:18 am
Documentation. It's only supported for connectors.
But why?
Title: Re: v17 - setlinestyle("DOUBLE") - only for Connectors?
Post by: Geert Bellekens 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