DataShortcutsUpdatePartialReferenceSurface Method

Updates a partial reference surface in the host database after the user edits (adds, deletes, or changes) the reference boundary.

Namespace: Autodesk.Civil.DataShortcuts
Assembly: AeccDataShortcutMgd (in AeccDataShortcutMgd.dll) Version: 13.8.0.292
Syntax
public static void UpdatePartialReferenceSurface(
	Database hostDrawing,
	ObjectId refSurfaceId
)

Parameters

hostDrawing  Database
The host database where the partial reference surface will be updated.
refSurfaceId  ObjectId
The ID of the partial reference surface to be updated.
Exceptions
ExceptionCondition
[!:System.ArgumentException] Thrown when the given input ID is not a valid reference surface ID.
Example
This example demonstrates how to call this method.
C#
1DataShortcuts.UpdatePartialReferenceSurface(hostDrawing, refSurfaceId);
See Also