TCPointCloud Structure |
Represents a point cloud in Trimble Connect project with metadata such as ID, name, file size, point count, and uploader information.
Namespace: Tekla.Structures.Model.PointCloudDataServices
Assembly: Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
The TCPointCloud type exposes the following members.
| Name | Description | |
|---|---|---|
| FileSize |
File size of the point cloud in bytes.
| |
| Id |
Unique identifier of the point cloud.
| |
| Name |
Name of the point cloud.
| |
| PointCount |
Number of points in the point cloud.
| |
| UploadedBy |
Name of the user who uploaded the point cloud.
| |
| UploadedDate |
Date when the point cloud was uploaded.
|
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(); } }