Book a Demo

Author Topic: IsRectangular query in Shapescripts  (Read 3421 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
IsRectangular query in Shapescripts
« on: September 09, 2009, 02:40:15 pm »
Following on from the bug I just reported on drawnativeshape():  drawnativeshape unresponsive to appearance.

If Sparx are going to fix that, it seems a good idea to me that they also create a new query method IsRectangular to allow the shapescript to determine which mode the Diagram Object is in and respond accordingly.

[EDIT: Of course I forgot that a setrectangular(bool); command would also be required.  To set/unset the rectangular form (based upon some condition).]

This would allow more flexibility in diagramming.

Submitted.

Thoughts? Votes?
Paolo
« Last Edit: September 09, 2009, 05:57:56 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: IsRectangular query in Shapescripts
« Reply #1 on: September 09, 2009, 11:12:26 pm »
Oh yes!
No, you can't have it!