Book a Demo

Author Topic: Composite Diagram on EA 8  (Read 3164 times)

pakcom

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Composite Diagram on EA 8
« on: September 21, 2012, 12:01:25 am »
Hello,

I know that adding composite diagram by automation feature is already there in version 9. But, my company uses EA version 8. And in the EA Interop, Element.CompositeDiagram is read only.
And I can't change anything to it.

Is there any tricky way to automate creating a composite diagram in element?

Thank you.

jamesl

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Composite Diagram on EA 8
« Reply #1 on: September 21, 2012, 01:03:15 am »
The CompositeDiagram property is still readonly is EA9. You need to use the IsComposite property instead.

Set up a diagram within your element and set the diagram's parent to the elementID, then change IsComposite to True and EA should take care of the rest.

You may also find this topic useful (from just a few days ago):

http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1347875364
« Last Edit: September 21, 2012, 01:03:56 am by jamesl »