SetPointCloudScanOverrideSettings Method (ElementId, PointCloudOverrideSettings, String, Document)


Assigns scan override settings to a particular scan within a PointCloudInstance element.

Namespace: Autodesk.Revit.DB.PointClouds
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2017

Syntax

C#
public void SetPointCloudScanOverrideSettings(
	ElementId elementId,
	PointCloudOverrideSettings newSettings,
	string scanTag,
	Document doc
)
Visual Basic
Public Sub SetPointCloudScanOverrideSettings ( _
	elementId As ElementId, _
	newSettings As PointCloudOverrideSettings, _
	scanTag As String, _
	doc As Document _
)
Visual C++
public:
void SetPointCloudScanOverrideSettings(
	ElementId^ elementId, 
	PointCloudOverrideSettings^ newSettings, 
	String^ scanTag, 
	Document^ doc
)

Parameters

elementId
Type: Autodesk.Revit.DBElementId
Id of the element to be overridden.
newSettings
Type: Autodesk.Revit.DB.PointCloudsPointCloudOverrideSettings
Override settings to be assigned.
scanTag
Type: SystemString
The tag identifying the particular scan within the PointCloudInstance element. Tags can be obtained from PointCloudInstance via method getScans.
doc
Type: Autodesk.Revit.DBDocument
Document containing the element to be overridden.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException Thrown when supplied scanTag is not empty while doc is NULL
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsArgumentOutOfRangeException The override settings are not valid.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →