TurnoutCatalogManagerAddCatalog Method

Add catalog to the database.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public ObjectId AddCatalog(
	string path
)

Parameters

path  String
The file path of the catalog.

Return Value

ObjectId
An ObjectId of a catalog.
Exceptions
ExceptionCondition
ArgumentException Thrown the exception if failed to add the catalog, please make sure:
  • The catalog is valid to load.
  • The catalog's unit is the same with the drawing.
  • No catalog loaeded with the same name in the drawing.
  • No catalog loaeded with equal content in the drawing.
See Also