Book a Demo

Author Topic: Access to Diagram Layout Tools via Automation  (Read 3857 times)

jamesl

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Access to Diagram Layout Tools via Automation
« on: September 03, 2012, 08:55:53 pm »
Good morning all,

I have been using the LayoutDiagramEx function to good effect to create and auto-layout Class diagrams.

I'm now trying the same with Activity diagrams, however this function doesn't work for these. I've found that the manual "Diagram Layout" Digraph option (via the View->Diagram Layour menu) works well, but I can't seem to run this from the automation interface.

Can someone tell me how to call this from the automation interface? I'm using VBA if it makes any difference.

Many thanks in advance.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Access to Diagram Layout Tools via Automation
« Reply #1 on: September 04, 2012, 09:35:48 am »
These additional diagram layouts (Digraph, Box, Circle, Spring, etc) are not currently accessible from the automation interface.  Please submit a feature request via the following page so that it may be considered for implementation in the future.
http://www.sparxsystems.com/support/feature_request.html

jamesl

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Access to Diagram Layout Tools via Automation
« Reply #2 on: September 04, 2012, 05:56:37 pm »
That's a shame, but thank you for the information Aaron.

Feature request submitted.