Share

TurnoutCatalogManager.AddCatalog Method

Add catalog to the database.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public ObjectId AddCatalog(
	string path
)

VB

Public Function AddCatalog ( 
	path As String
) As ObjectId

C++

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

Reference

Was this information helpful?