PointCloudDataServices Class |
The point cloud data services.
Examples
The following example shows how to use the PointCloudDataServices class to retrieve point cloud data in Trimble Connect projects
and attach it to a model.
using System.Threading; using Tekla.Structures.Model; public class Example { public async void Example1() { var projects = await PointCloudDataServices.GetProjectsWithPointCloudsAsync(); var pointClouds = projects.First().PointClouds; var url = await PointCloudDataServices.GetPointCloudUrlAsync(projects.First(), pointClouds.First()); PointCloud pointCloud = new PointCloud { Name = pointClouds.First().Name, Url = url, TcProjectId = projects.First().Id, TcPointCloudGuid = pointClouds.First().Id, LocationBy = Guid.Empty, UseAutoCreatedBasePoint = true, Scale = 1.0 }; pointCloud.Attach(); } }
SystemObject
Tekla.Structures.Model.PointCloudDataServicesPointCloudDataServices
Tekla.Structures.Model.PointCloudDataServicesPointCloudDataServices
Namespace: Tekla.Structures.Model.PointCloudDataServices
Assembly: Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
The PointCloudDataServices type exposes the following members.
| Name | Description | |
|---|---|---|
| GetPointCloudUrlAsync |
Retrieves the URL for a point cloud.
| |
| GetProjectsWithPointCloudsAsync |
Retrieves the list of Trimble Connect projects with point clouds.
|