# API Save RAPID-Program

**URL:** <https://tech-community.robotics.abb.com/t/api-save-rapid-program/1571>\
**Category:** RobotStudio\
**Created:** [December 6, 2007, 2:06pm UTC](https://tech-community.robotics.abb.com/t/api-save-rapid-program/1571 "2007-12-06T14:06:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/system/32/6_2.png) [@system](https://tech-community.robotics.abb.com/u/system)\
**Post date:** [December 6, 2007, 2:06pm UTC](https://tech-community.robotics.abb.com/t/api-save-rapid-program/1571/1 "2007-12-06T14:06:29Z")

</div>

Hi,

i have a stations with 2 robots (and 2 tasks) and every task contains one module, which is called Module1. now i want to save both modules automatically with the API, but i just don’t know how.

So any help is appreciated 😉

---

<div class="post-metadata">

**Author:** ![Niklas\_Skoglund](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@Niklas\_Skoglund](https://tech-community.robotics.abb.com/u/Niklas_Skoglund)\
**Post date:** [December 12, 2007, 2:36pm UTC](https://tech-community.robotics.abb.com/t/api-save-rapid-program/1571/2 "2007-12-12T14:36:14Z")

</div>

Hi Peter,

you have to use PC SDK to load and save modules from the controller.

In the namespace ABB.Robotics.Controllers.RapidDomain there is class Module which has the method SaveToFile.

PC SDK is a part of Robot Application Builder, RAB.

Regards,

Niklas

---

<div class="post-metadata">

**Author:** ![Henrik\_Berlin](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/henrik_berlin/32/1011_2.png) [@Henrik\_Berlin](https://tech-community.robotics.abb.com/u/Henrik_Berlin)\
**Post date:** [December 13, 2007, 2:04pm UTC](https://tech-community.robotics.abb.com/t/api-save-rapid-program/1571/3 "2007-12-13T14:04:25Z")

</div>

Hi Peter,

Starting with version 5.10 of the RAB, it is free of charge and is available on the RobotWare 5.10 CD. Please contact your local ABB office for more information.

Kind regards,
