Book a Demo

Author Topic: Need help in starting with EA macros with C#  (Read 4584 times)

anand.tripathi

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Need help in starting with EA macros with C#
« on: July 23, 2013, 05:43:49 pm »
Hi All,

I am a beginner in EA, started few days ago, need your help.

I need to change some transformation rules while converting from PIM model to C# code, I heard, it is possible with EA Macros, please guide me with appropriate resources. Any small pointer would be helpful on how to start with.

Just to clarify, I am interested in creating a custom macro which I could use to do the C# transformation.

Program version of EA(Which I am using) : 9.0.906

Thanks in advance.
-Anand
« Last Edit: July 23, 2013, 07:15:53 pm by anand.tripathi »

Nabil

  • EA User
  • **
  • Posts: 149
  • Karma: +5/-2
    • View Profile
    • View My LinkedIn Profile Here
Re: Need help in starting with EA macros with C#
« Reply #1 on: July 23, 2013, 06:31:40 pm »
hi anand,

To change transformation template language settings Goto Tool menu
select MDA Transformation Templates (Ctrl+Alt+H) then select language C#
Read more about this from EA help Model Transformation / Built-in Transformations / Transformation Templates
« Last Edit: July 23, 2013, 06:32:07 pm by nabilsparx »
Nabil

anand.tripathi

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Need help in starting with EA macros with C#
« Reply #2 on: July 23, 2013, 07:15:06 pm »
Hi Nabil,

Thanks for the reply. I am not able to see "MDA Transformation Templates" in Tools menu. Program version of EA(Which I am using) : 9.0.906.

Just to clarify, I am interested in creating a custom macro which I could use to do the C# transformation.

-Anand
« Last Edit: July 23, 2013, 07:16:06 pm by anand.tripathi »

Nabil

  • EA User
  • **
  • Posts: 149
  • Karma: +5/-2
    • View Profile
    • View My LinkedIn Profile Here
Re: Need help in starting with EA macros with C#
« Reply #3 on: July 23, 2013, 08:16:37 pm »
hi anand,

 In EA 9.0 V Goto Settings Menu Transformation Templates Select C# language to transform your PIM. Using this edit transformation templates the way you want to make your macros work. In EA customizable transformation templates lets you to modify the way it works

-Nabil Saleem
« Last Edit: July 23, 2013, 08:17:30 pm by nabilsparx »
Nabil

anand.tripathi

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Need help in starting with EA macros with C#
« Reply #4 on: July 23, 2013, 10:36:12 pm »
Thanks a lot Nabil,

I found it, can you help me in finding some tutorials for learning custom EA Transformation templates for c#.

Thanks in advance.
Anand
« Last Edit: July 24, 2013, 02:27:41 pm by anand.tripathi »