PointCloudEngineRegistry.RegisterPointCloudEngine
Method
Description:
Registers a new point cloud engine and associates it to a particular file extension.
Registers a new point cloud engine and associates it to a particular file extension.
Syntax
public static void RegisterPointCloudEngine(
string identifier,
IPointCloudEngine engine,
bool isFileBased
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| identifier | String | A string that distinguishes the engine being registered. If isFileBased is true, this should be the file extension (e.g. "rcs" or "rcp"). If isFileBased is false, this identifier is used only by API calls and should be unique. |
| engine | IPointCloudEngine | The point cloud engine that governs point clouds matching the input identifier. |
| isFileBased | Boolean | Indicates to Revit if a single Point Cloud corresponds to a single file on disk. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The same identifier has already been registered by another engine. |
| ArgumentNullException | A non-optional argument was null |