測量プロジェクトには、測量プロジェクト設定オブジェクトを通してアクセスするプロパティ グループが存在します。測量プロジェクト設定では、使用する計測単位、角度タイプ、、および各計測の精度を定義します。このオブジェクトには、観測データに加えられた調整の種類と、トラバース解析と角度の平衡化のタイプと精度が記録されます。また、メートル単位と環境設定の単位の間、および東座標/北座標と経度/緯度の間で変換を行うためのメソッドも備えています。プロジェクト設定オブジェクトは、AeccSurveyProject.GetProjectSettings メソッドで取得します。このメソッドは、AeccSurveyProjectSettings オブジェクトを返します。 プロジェクト設定に加えた変更を適用するには、変更した AeccSurveyProjectSettings オブジェクトを AeccSurveyProject.UpdateProjectSettings メソッドに渡します。
Dim oProjectSettings As AeccSurveyProjectSettings Set oProjectSettings = oSurveyProject.GetProjectSettings() ' Modify and examine the current settings. With oProjectSettings .AngleType = aeccSurveyAngleTypeAzimuth Debug.Print "Sea level correction? :"; .SeaLevelCorrection End With ' Save the changes to the project settings object. oSurveyProject.UpdateProjectSettings oProjectSettings