Book a Demo

Author Topic: Is it possible to create an index of drawings?  (Read 4387 times)

mse

  • EA User
  • **
  • Posts: 308
  • Karma: +1/-0
    • View Profile
Is it possible to create an index of drawings?
« on: January 11, 2020, 12:28:28 am »
I'd like to insert a diagram that shows what in other industries such as civil engineering or building architecture is known as an Index of Drawings. I'd like to have a table with a hyperlink to the sequence diagram, class diagram, etc. and a description of what it is. For example:

DWG No.Description
SWCS101S/W composite structure drawing of the Speedometer feature.
SWSD101S/W sequence diagram drawing of the Speedometer feature (normal operation)
SWSD102S/W sequence diagram drawing of the Speedometer feature (failed case)

In the table above, I know how to create the hyperlink via means of drag and drop. However, I'd like to structure all this in a table so that I don't have to line things up again if I insert something.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Is it possible to create an index of drawings?
« Reply #1 on: January 11, 2020, 01:52:06 am »
Hello,


You can do something like it with a Model View Chart, aka a Model View List (consistency would be a fine thing), which you can create in an Extended -- Documentation diagram. These update semi-automatically or on request, so there's no need to muck about with hyperlinks.

The sample SQL query on the help page locates objects (= elements), but if you modify it to locate diagrams it works just as well. Note that in order to follow a link (eg "Find in Project Browser") in such a view chart you must go into the Edit mode (context menu item "Edit List View").

Here's a simple query which locates all diagrams in the project. You'll want to modify this.
Code: (SQL) [Select]
select ea_guid as CLASSGUID, Name, Author, Diagram_Type, ModifiedDate
from t_diagram

It's the "ea_guid as CLASSGUID" clause that weaves the magic and allows you to locate the diagram (or element, or package) from the chart. You can make the query as complex as you like and include a sort clause, etc.

HTH,


/Uffe
My theories are always correct, just apply them to the right reality.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Is it possible to create an index of drawings?
« Reply #2 on: January 11, 2020, 01:56:24 am »
PS

With this method there isn't any room for a separate description (ie one that you write as part of the list), which you can of course do with a hyperlink. But you can include the diagram's Notes column, which could provide the same information.
My theories are always correct, just apply them to the right reality.

mse

  • EA User
  • **
  • Posts: 308
  • Karma: +1/-0
    • View Profile
Re: Is it possible to create an index of drawings?
« Reply #3 on: January 11, 2020, 02:26:26 am »
This is perfect. It's exactly what I'm looking for plus some more. I'll simply use the notes section as you suggested to add a description column and I'm done.  :)

bellawatson492

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-2
    • View Profile
Re: Is it possible to create an index of drawings?
« Reply #4 on: January 18, 2020, 09:04:47 pm »
Ohh well good dear.