Book a Demo

Author Topic: Mass convert elements  (Read 2688 times)

Guy Manning

  • EA User
  • **
  • Posts: 74
  • Karma: +0/-0
  • UML Newbie :0)
    • View Profile
Mass convert elements
« on: July 13, 2009, 08:43:36 pm »
Some one has just asked me if it is possible to amend a diagram so as to change all the 'Business process' elements to 'Activity' elements  (I.e. without clicking on every element manually in turn and changing them)

Is there some option to do this?

salayande

  • EA User
  • **
  • Posts: 224
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Mass convert elements
« Reply #1 on: July 14, 2009, 04:28:04 am »
You will have to create a transformation script
Please, find out what the BP Element is in the documentation and use it to replace "BPElement" below
The attribute section will have lines similar to:

BPElement
{
  %TRANSFORM_REFERENCE("BPElement")%
  %TRANSFORM_CURRENT("stereotype")%
    stereotype = "Activity"
}

kind regards

Segun