Registers a new point cloud engine and associates it to a particular file extension.
Namespace: Autodesk.Revit.DB.PointClouds
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2012
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- identifier
- Type: SystemString
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
- Type: Autodesk.Revit.DB.PointCloudsIPointCloudEngine
The point cloud engine that governs point clouds matching the input identifier.
- isFileBased
- Type: SystemBoolean
Indicates to Revit if a single Point Cloud corresponds to a single file on disk.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentException | The same identifier has already been registered by another engine. |
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |