Using AutoCAD Civil 3D UI tools we can conveniently set the working folder for Survey Projects.
If you want to do the same using Civil 3D .NET API, you need to use SurveyProjectCollection.WorkingFolder API. Using this API we can get or set the working folder for survey projects.
Here is a C# .NET code snippet on how to use this API :
SurveyProjectCollection surveyProjColl = CivilApplication.SurveyProjects;
// print the current working folder name
ed.WriteMessage("\nSurvey Projects Working Folder Before Change : " + surveyProjColl.WorkingFolder.ToString());
// now change the working folder location
surveyProjColl.WorkingFolder = "c:\\Temp";
// print the current working folder name after change
ed.WriteMessage("\nSurvey Projects Working Folder After Change : " + surveyProjColl.WorkingFolder.ToString());