Author Topic: Diagram Frames - list elements documentation  (Read 2736 times)

rupertkiwi

  • EA User
  • **
  • Posts: 132
  • Karma: +5/-0
    • View Profile
Diagram Frames - list elements documentation
« on: March 27, 2017, 04:30:24 pm »
Is it possible to list out the elements of a diagram frame which is placed inside an existing diagram when generating documentation?

I can list out the members of the main diagram using Fragments in the documentation but would also like to list out the elements that are in a diagram frame that I have dragged onto the main diagram.

Thanks,

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Diagram Frames - list elements documentation
« Reply #1 on: March 27, 2017, 05:29:05 pm »
Can't help with the documentation, but you can start with this query:

Code: [Select]
select obj.* from t_object  obj, t_diagramobjects dob, t_diagram dia
where obj.object_id = dob.object_id
and dob.diagram_id = dia.diagram_id
and dia.Diagram_ID = (SELECT pdata1 FROM t_object where object_type="UMLDiagram")

This lists all elements of all diagram frames. The last part selects the diagrams referenced by diagram frames.

q.

rupertkiwi

  • EA User
  • **
  • Posts: 132
  • Karma: +5/-0
    • View Profile
Re: Diagram Frames - list elements documentation
« Reply #2 on: March 28, 2017, 03:06:35 pm »
Thanks q.

That's a big help