Book a Demo

Author Topic: User-Selectable diagram properties  (Read 5854 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
User-Selectable diagram properties
« on: April 01, 2016, 06:56:34 pm »
The new user selectable diagram properties look like they're pretty useful.

Is it the case that, so far, only "Boolean" properties can be handled?

Anyone know where they are stored?

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

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: User-Selectable diagram properties
« Reply #1 on: April 04, 2016, 02:52:59 pm »
Hi Paolo,

have you looked in t_txref?

Regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: User-Selectable diagram properties
« Reply #2 on: April 04, 2016, 05:24:09 pm »
Hi Paolo,

have you looked in t_txref?

Regards,

Helmut
Yes Helmut, first place I looked, but they didn't "jump out at me".  Did you find them?

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

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: User-Selectable diagram properties
« Reply #3 on: April 04, 2016, 06:09:40 pm »
Hi Paolo,

could you update me on 'The new user selectable diagram properties'.

Are these the new properties in the API like Color, line width for diagram objects. If yes, I can look this evening in my code because I fiddle them out of I think the style property.

Regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: User-Selectable diagram properties
« Reply #4 on: April 05, 2016, 09:51:24 am »
Hi Paolo,

could you update me on 'The new user selectable diagram properties'.

Are these the new properties in the API like Color, line width for diagram objects. If yes, I can look this evening in my code because I fiddle them out of I think the style property.

Regards,

Helmut
No Helmut,

I'm talking about the ability to tell a shape script what to show on a particular diagram - an extension of the HasProperty query method.  If you have an old Help file (as opposed to the new, unusable, help system).  You'll find them by looking up" "user-selectable" and selecting the "Query Methods" topic.  Searching the new help system for either string yields no hits.

Can a Sparxian confirm that only Boolean properties are currently supported?

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: 8110
  • Karma: +119/-20
    • View Profile
Re: User-Selectable diagram properties
« Reply #5 on: April 08, 2016, 02:59:41 pm »
Yes, it's only Boolean properties.

They're actually stored in the diagram StyleEx field.