Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: jamesl on September 03, 2012, 08:55:53 pm

Title: Access to Diagram Layout Tools via Automation
Post by: jamesl 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.
Title: Re: Access to Diagram Layout Tools via Automation
Post by: Aaron B 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
Title: Re: Access to Diagram Layout Tools via Automation
Post by: jamesl on September 04, 2012, 05:56:37 pm
That's a shame, but thank you for the information Aaron.

Feature request submitted.