Book a Demo

Author Topic: export attributes of a class  (Read 12991 times)

KNVB

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
export attributes of a class
« on: April 03, 2018, 07:00:55 pm »
Hello

I am using Enterprise Architect 13.5.
Would you tell me how can I export a class/element with the attributes name only?

thank you very much

Nizam

  • Prolab Moderator
  • EA User
  • *
  • Posts: 320
  • Karma: +15/-2
  • Model Sharing - Simplified
    • View Profile
    • Professional Model Collaboration
Re: export attributes of a class
« Reply #1 on: April 03, 2018, 09:48:09 pm »
Print in Word / Excel?
Word - RTF Template
Excel - CSV Export or MDG Office integration

KNVB

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: export attributes of a class
« Reply #2 on: April 04, 2018, 04:59:02 pm »
Both of them are ok.
However, is it possible to export it as the following:

+--------------------------+
|        Class Name        |
+--------------------------+
|                          |
|Attribute 1               |
|Attribute 2               |
|Attribute 3               |
|Attribute 4               |
|Attribute 5               |
|                          |
+--------------------------+

Nizam

  • Prolab Moderator
  • EA User
  • *
  • Posts: 320
  • Karma: +15/-2
  • Model Sharing - Simplified
    • View Profile
    • Professional Model Collaboration
Re: export attributes of a class
« Reply #3 on: April 04, 2018, 08:58:45 pm »
Yes, sure it is possible, Try enabling <element> tag and <attributes> tag in the RTF editor and just enable names in each. EA will render the list as you've asked

KNVB

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: export attributes of a class
« Reply #4 on: April 06, 2018, 02:17:44 pm »
I can export the attributes of an element, however, I cannot export the class diagram as my specified format.
Would you tell me which attributes should I select when creating document template?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: export attributes of a class
« Reply #5 on: April 06, 2018, 04:41:17 pm »
On the diagram properties dialog, go to the Features page and set "Show Attribute Detail" to "Name Only". You may also want to switch off "Show Qualifiers and Visibility Indicators" on the same page.
The Sparx Team
[email protected]

Nizam

  • Prolab Moderator
  • EA User
  • *
  • Posts: 320
  • Karma: +15/-2
  • Model Sharing - Simplified
    • View Profile
    • Professional Model Collaboration
Re: export attributes of a class
« Reply #6 on: April 06, 2018, 06:50:44 pm »
I can export the attributes of an element, however, I cannot export the class diagram as my specified format.
Would you tell me which attributes should I select when creating document template?



Image - https://www.dropbox.com/s/1i667wmv502m992/2018-04-06_1831.png
Key here is, just enable the 'diagram -> element' (don't add anything), but just fill the 'Elements'

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: export attributes of a class
« Reply #7 on: April 08, 2018, 07:22:55 pm »
Hi,

one way to export something is to write/use a search/query and:

- Export results to *.csv and then to Excel
- Use the free hoTools to directly export the query results to Excel
  (see: https://github.com/Helmut-Ortmann/EnterpriseArchitect_hoTools/wiki/Export)

Best regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

KNVB

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: export attributes of a class
« Reply #8 on: April 10, 2018, 05:43:25 pm »
On the diagram properties dialog, go to the Features page and set "Show Attribute Detail" to "Name Only". You may also want to switch off "Show Qualifiers and Visibility Indicators" on the same page.

Sorry, I cannot find the diagram properties dialogue box.
Would you tell me how can I found it?

thank you

KNVB

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: export attributes of a class
« Reply #9 on: April 10, 2018, 05:58:19 pm »
I can export the attributes of an element, however, I cannot export the class diagram as my specified format.
Would you tell me which attributes should I select when creating document template?



Image - https://www.dropbox.com/s/1i667wmv502m992/2018-04-06_1831.png
Key here is, just enable the 'diagram -> element' (don't add anything), but just fill the 'Elements'
It does not work.
I attached the screen dump and the generated document for your reference.

https://www.sendspace.com/file/zdilyo

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: export attributes of a class
« Reply #10 on: April 10, 2018, 06:29:44 pm »
Just dbl-click a free space on the diagram and the properties will open.

q.