Update the catalog by catalog file path. The new catalog requires to follow below conditions:
- The content is different.
- The name is the same.
- The unit is the same.
- If the old catalog is in use, only support add models for the new catalog.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public bool UpdateCatalog( ObjectId catalogId, string path )
VB
Public Function UpdateCatalog ( catalogId As ObjectId, path As String ) As Boolean
C++
public: bool UpdateCatalog( ObjectId catalogId, String^ path )
Parameters
- catalogId ObjectId
- The catalog ObjectId need to updated.
- path String
- The file path of the new catalog.