SurfaceDefinitionAddPointSurveyQueriesAddPointSurveyQuery Method

Adds a point survey to a TinSurface object.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public SurfaceOperationAddPointSurveyQuery AddPointSurveyQuery(
	Guid surveyProjectGuid,
	Guid surveyQueryGuid,
	int queryChecksum,
	string surfaceOpDescription,
	double midOrdinateDis
)

Parameters

surveyProjectGuid  Guid
The GUID of a survey project.
surveyQueryGuid  Guid
The GUID of a point survey query.
queryChecksum  Int32
The checksum of a point survey query.
surfaceOpDescription  String
The description of the operation.
midOrdinateDis  Double
The mid-ordinate distance value to use.

Return Value

SurfaceOperationAddPointSurveyQuery
Exceptions
ExceptionCondition
[!:System.ArgumentNullException] Thrown when the surfaceOpDescription is null.
[!:Autodesk.Civil.SurveyException] Thrown when:
  • The current survey project is not set or surveyProjectGuid is not a current survey project's GUID.
  • The surveyProjectGuid is different from the survey project GUID already in the surface operation list.
  • The surveyQueryGuid does not belong to the project associated with surveyProjectGuid.
See Also