PointCloudEngineRegistry.RegisterPointCloudEngine Method

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: 26.4.0.0 (26.4.0.0)

Syntax

C#

public static void RegisterPointCloudEngine(
	string identifier,
	IPointCloudEngine engine,
	bool isFileBased
)

Parameters

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.

Exceptions

ExceptionCondition
ArgumentException The same identifier has already been registered by another engine.
ArgumentNullException A non-optional argument was null

See Also

Reference

PointCloudEngineRegistry Class
Autodesk.Revit.DB.PointClouds Namespace