Remove the catalog by catalog ObjectId.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.7.0.1276
Syntax
C#
public bool RemoveCatalog( ObjectId catalogId )
VB
Public Function RemoveCatalog ( catalogId As ObjectId ) As Boolean
C++
public: bool RemoveCatalog( ObjectId catalogId )
Parameters
- catalogId ObjectId
Return Value
BooleanRemarks
If return false, please make sure:- The catalog is exist in the drawing.
- The catalog is not in use.
- Never erase the catalog with the usual DBObject.Erase() API.