TurnoutCatalogManagerAddCatalog Method |
Add catalog to the database.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic ObjectId AddCatalog(
string path
)
Public Function AddCatalog (
path As String
) As ObjectId
public:
ObjectId AddCatalog(
String^ path
)
Parameters
- path String
- The file path of the catalog.
Return Value
ObjectIdAn ObjectId of a catalog.
ExceptionsException | Condition |
---|
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