Book a Demo

Author Topic: API function to Restore a baseline !  (Read 3937 times)

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
API function to Restore a baseline !
« on: November 07, 2013, 02:53:12 am »
I have baselines 1 ,2 ,3
 :)
is there any API function to restore any baselines using C# code ?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: API function to Restore a baseline !
« Reply #1 on: November 07, 2013, 08:33:00 am »
Project.DoBaselineMerge. The documentation for that function will tell you how to do it.

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: API function to Restore a baseline !
« Reply #2 on: November 08, 2013, 01:16:20 pm »
OK, Thanks Simon M ,
I just asked if it was possible or not !

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: API function to Restore a baseline !
« Reply #3 on: November 08, 2013, 11:35:41 pm »
Performs a batch merge based on instructions contained in an XML file (MergeInstructions). You can supply an optional connection string if the Baseline is located in another model.

In the MergeInstructions file, each MergeItem node supplies the GUID of a differenced item from the XML difference log. As the merge is uni-directional and actioned in only one possible way, no additional arguments are required. Enterprise Architect chooses the correct procedure based on the Difference results