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.DataShortcutsAssembly: AeccDataShortcutMgd (in AeccDataShortcutMgd.dll) Version: 13.8.0.292
Syntaxpublic static void UpdatePartialReferenceSurface(
Database hostDrawing,
ObjectId refSurfaceId
)
Public Shared Sub UpdatePartialReferenceSurface (
hostDrawing As Database,
refSurfaceId As ObjectId
)
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.
ExceptionsException | 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);
See Also