Book a Demo

Author Topic: Change propagation to linked elements  (Read 4601 times)

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Change propagation to linked elements
« on: October 07, 2004, 11:00:34 am »
When making changes to a model, it's important to ensure that any linked elements are updated accordingly.

Can I suggest that there could be a command (button? menu?) causing a task to be generated against every element linked/dependent on the selected element.

This would allow each consequence to be checked, and the task for element in question cleared - or in turn passed on again - but then how to stop backtracking ?!

Oh well !

Oscar

  • EA User
  • **
  • Posts: 65
  • Karma: +0/-0
    • View Profile
Re: Change propagation to linked elements
« Reply #1 on: October 07, 2004, 11:07:17 pm »
Would checking and marking elements before you make a change to an element help you ?

See this thread how to mark an element:

http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.cgiboard=general;action=display;num=1096930649

HTH,
Oscar

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Change propagation to linked elements
« Reply #2 on: October 08, 2004, 01:06:53 am »
I think your link should have been http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.cgi?board=general;action=display;num=1096930649 (missing '?' after YaBB.cgi)

I was just after something that could mark the all linked objects for me - I could probably go through and look up all the references to the element and then mark them all by hand, but how tedious and error-prone is that ?

The whole point of an IDE is to simplify useful but otherwise laborious tasks so that you hardly notice them !

Now I have seen that I can talk to EA using Perl and "use Win32::OLE" perhaps this is the kind of thing I could knock up - but I'm too busy on the Real work of the project !

(see http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.cgi?board=Automation;action=display;num=1096035939)

thomaskilian

  • Guest
Re: Change propagation to linked elements
« Reply #3 on: October 10, 2004, 01:40:07 pm »
mikewhit,
this PERL thingy is working great. I just started working out some PERL classes to deal with EA repositories. The only thing I couldn't get hold of was the command line. I had to call a BAT-file to invoke my perl code. Thus I was able to get the $p parameter.