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.280
Syntax
C#
public static void UpdatePartialReferenceSurface( Database hostDrawing, ObjectId refSurfaceId )
VB
Public Shared Sub UpdatePartialReferenceSurface ( hostDrawing As Database, refSurfaceId As ObjectId )
C++
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
Exception | Condition |
---|---|
[!:System.ArgumentException] | Thrown when the given input ID is not a valid reference surface ID. |
Example
This example demonstrates how to call this method.1DataShortcuts.UpdatePartialReferenceSurface(hostDrawing, refSurfaceId);