Author Topic: how to display path and filename of ea file  (Read 5157 times)

JoachimM

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
how to display path and filename of ea file
« on: March 28, 2013, 06:57:06 pm »
How can I display the path and filename of an EA file in a diagram. Is there a way to show it with the diagram notes ?
I didn't find any information about this.

Joachim
V 8.0

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: how to display path and filename of ea file
« Reply #1 on: March 28, 2013, 10:58:24 pm »
You can't do that out of the box. Your only choice is a script to insert a text or note element with the path (which can be retrieved via API). Though I find it strange that someone wants to present a file path in a model.

q.
« Last Edit: March 28, 2013, 10:59:52 pm by qwerty »

ChrisDr

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: how to display path and filename of ea file
« Reply #2 on: March 29, 2013, 07:34:05 am »
I have exactly the same "strange" craving. If you work with many many models and extract lots of images for presentations I lost more than once track of where the diagram image came.
A little automated "source" field somewhere would not guarantee that I find the model again, but it would definitely be of help.

Just want to make a point FOR the original request here ;-)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: how to display path and filename of ea file
« Reply #3 on: March 29, 2013, 12:32:54 pm »
One just needs to know the use case...

q.

ChrisDr

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: how to display path and filename of ea file
« Reply #4 on: March 29, 2013, 08:29:07 pm »
I know! That's why I chimed in :-)
I guess the connects string would be a good thing to use, because it also works with "real" databases. Then a new(?) graphical object which get's autofilled needs bo be provided.

Any suggestions on possible solutions here?

Thanks!
Chris

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: how to display path and filename of ea file
« Reply #5 on: March 29, 2013, 10:03:03 pm »
Quote
Any suggestions on possible solutions here?
Use a script as q suggested ...
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/