TCProject Structure

Represents a Trimble Connect Project tenancy with point cloud data services.

Namespace:  Tekla.Structures.Model.PointCloudDataServices
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
Syntax
[SerializableAttribute]
public struct TCProject

The TCProject type exposes the following members.

Fields
  NameDescription
Public fieldConnectRegion
Trimble Connect region for this project.
Public fieldId
Trimble Connect project ID.
Public fieldName
Trimble Connect project name.
Public fieldPointClouds
List of point clouds associated with this project.
Public fieldRegionalUrl
Regional URL for this project.
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