Book a Demo

Author Topic: translating attributes to activity parameters  (Read 3545 times)

mrblack12

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
    • View Profile
translating attributes to activity parameters
« on: May 21, 2013, 10:45:58 pm »
I'm trying to translate or convert attributes to parameters in an activity. Dragging an attribute onto an activity doesn't work, as fas as I know. Maybe someone out there knows a clever way to do this, rather than to go hacking the XMI files. ;D
« Last Edit: May 21, 2013, 10:58:29 pm by mrblack12 »

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: translating attributes to activity parameters
« Reply #1 on: May 23, 2013, 11:41:51 pm »
Hi,

I think you want to create a parameter with the values of an attribut. Perhaps also link them together.


I see the following possibilities:
- Make a dependency from Attribut to Activity Parameter
- Write a script (Addin, Scripting)
-- Select both the attribute and the activity\parameter, run script
    Create Parameter, fill values, link them together
    Update Parameter, link them together
-  On New Parameter message (select Attribut)
-  'On drag end' would be the best, but isn't available


Kind regards,

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