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
Syntax
[SerializableAttribute]
public struct TCPointCloud

The TCPointCloud type exposes the following members.

Fields
  NameDescription
Public fieldFileSize
File size of the point cloud in bytes.
Public fieldId
Unique identifier of the point cloud.
Public fieldName
Name of the point cloud.
Public fieldPointCount
Number of points in the point cloud.
Public fieldUploadedBy
Name of the user who uploaded the point cloud.
Public fieldUploadedDate
Date when the point cloud was uploaded.
Top
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();
    }
}
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next