I thought I would share this technique I've developed for creating ACP Scheduler projects. I am assuming that you have Visual Studio and ReSharper. If you don't have ReSharper, you can get a 30 day trial, otherwise this post is not for you.

Disclaimer: There is a comment in the exported XML file that says "do not create or edit this file by hand". Arguably, I'm not hand editing but my technique is probably not supported. It works for me but your mileage may vary, and Bob might not approve ;-)

The problem I'm addressing here is where I want to create a large project with many plans and observations, such as asteroid follow-up observations for many asteroids. Today I'm creating a plan to observe the top 20 bright minor planets at opposition. So the technique is as follows:


  1. Create the project and its first plan, with all constraints and target details set correctly. Do this in the Schedule Browser utility or using the web interface.
  2. Right click on the project and select "Export Project". This gives you an XML file.
  3. Create a blank Visual Studio solution (File -> New Project -> Other project types -> Blank Solution)
  4. Add the exported XML file to your solution (Right-click the solution, Add -> Existing Item, brows for the XML file and add it)
  5. Select the entire <Plan> element including opening and closing tags, and cut it (Ctrl-X)
  6. Create a ReSharper Live Template and paste in the <Plan> element.
  7. Work through the plan and replace the items you want to change with substitution tokens. For my use, I created tokens for the target name, time from previous observation and timing tolerance. I used the "constant value" macro to add defaults for the timing tokens.
  8. Name the live template (I used "plan-asteroid") and save it.


The above takes a little bit of time and you have to be careful to get all the occurrences of the substitution tokens added correctly, but once you;ve done that it becomes extremely quick and easy to add a new plan. Here's a video showing it in action.


Finally, you can import your project back into the Schedule Browser, by right-clicking your user name, and selecting Import Project. Here's another video showing that: