2025.3 Method
Changes 0
M

PointCloudInstance.GetPoints

Description:
Extracts a collection of points based on a filter.
Remarks:
If there are more points in the cloud passing the filter than the number requested in this function, the results may not be consistent if the same call is made again.
public PointCollection GetPoints(
	PointCloudFilter filter,
	double averageDistance,
	int numPoints
)
  • filter
    The filter to control which points are extracted. The filter should be passed in the coordinates of the Revit model.
  • Double
    averageDistance
    Desired average distance between "adjacent" cloud points (Revit units of length). The smaller the averageDistance the larger number of points will be returned up to the numPoints limit. Specifying this parameter makes actual number of points returned for a given filter independent of the density of coverage produced by the scanner.
  • Int32
    numPoints
    The maximum number of points requested.
Return Value PointCollection A collection object containing points that pass the filter, but no more than the maximum number requested.