ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMPointCloudRenderer Class / PointSizeAlgorithm Property
Example

In This Topic
    PointSizeAlgorithm Property
    In This Topic
    Gets or sets the algorithm used to determine the symbol size.
    Syntax
    Public Property PointSizeAlgorithm As CIMPointCloudAlgorithm
    public CIMPointCloudAlgorithm PointSizeAlgorithm {get; set;}
    Example
    Edit The Renderer to use Fixed Size
    {
      // Note: call within QueuedTask.Run()
      {
        var def = pointCloudSceneLayer.GetDefinition() as CIMPointCloudLayer;
    
        //Set the point shape and sizing on the renderer
        def.Renderer.PointShape = PointCloudShapeType.DiskShaded;
        var pointSize = new CIMPointCloudFixedSizeAlgorithm()
        {
          UseRealWorldSymbolSizes = false,
          Size = 8
        };
        def.Renderer.PointSizeAlgorithm = pointSize;
        //Commit changes back to the CIM
        pointCloudSceneLayer.SetDefinition(def);
      }
    }
    Edit the Renderer to Scale Size
    {
      // Note: call within QueuedTask.Run()
      {
        var def = pointCloudSceneLayer.GetDefinition() as CIMPointCloudLayer;
    
        //Set the point shape and sizing on the renderer
        def.Renderer.PointShape = PointCloudShapeType.DiskFlat;//default
        var scaleSize = new CIMPointCloudSplatAlgorithm()
        {
          MinSize = 8,
          ScaleFactor = 1.0 //100%
        };
        def.Renderer.PointSizeAlgorithm = scaleSize;
        //Commit changes back to the CIM
        pointCloudSceneLayer.SetDefinition(def);
      }
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also