This method provides a direct entry point to get access to an object from the ReCap SDK (ReCapWrapper.RCProject) from Revit. This object represents the point cloud from the RC file path stored in PointCloudType. The ReCap assembly AdskRcManaged.dll will need to be included into code using this method.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public RCProject GetReCapProject()
Return Value
RCProjectExceptions
Exception | Condition |
---|---|
FileAccessException | The file or PointCloudEngine is not ReCap based. |
InvalidOperationException | Exception happens when ReCap loading the project. |