Book a Demo

Author Topic: Exporting more attributes from a UML object to CSV  (Read 4200 times)

Mats Gejnevall

  • EA User
  • **
  • Posts: 98
  • Karma: +1/-0
    • View Profile
Exporting more attributes from a UML object to CSV
« on: October 30, 2013, 11:51:16 pm »
Hi all,
I am looking for a way of including more attibutes in the Export to CSV function. Particularly I want to export the Return class of a class (Under Behaviour>Return) but also other attributes. Even attributes of the Return class (like the notes field of the return class).

Any ideas?

I am also looking for ways of suppressing the Return class in my diagrams
Thanks
Mats

ken.norcross

  • EA User
  • **
  • Posts: 63
  • Karma: +0/-0
    • View Profile
Re: Exporting more attributes from a UML object to
« Reply #1 on: October 31, 2013, 01:27:13 am »
One way I know to get this done is to write a script to walk the model and gather anything you like, and use the Sparx supplied CSV functions to create a CSV file.

The first script may take a while to get working if you are not familair with sparx scripting, but once you get one working it should be easy to modify and reuse.


Mats Gejnevall

  • EA User
  • **
  • Posts: 98
  • Karma: +1/-0
    • View Profile
Re: Exporting more attributes from a UML object to
« Reply #2 on: October 31, 2013, 01:48:37 am »
Is there an example of doing this to CSV or to an RTF file somewhere? I have tried with the RTF Document Template Generator but I cannot find the right fields.