GetPointCloudScanOverrideSettings Method (ElementId, String, Document)


Gets override settings assigned to a particular scan within a PointCloudInstance element.

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

Syntax

C#
public PointCloudOverrideSettings GetPointCloudScanOverrideSettings(
	ElementId elementId,
	string scanTag,
	Document doc
)
Visual Basic
Public Function GetPointCloudScanOverrideSettings ( _
	elementId As ElementId, _
	scanTag As String, _
	doc As Document _
) As PointCloudOverrideSettings
Visual C++
public:
PointCloudOverrideSettings^ GetPointCloudScanOverrideSettings(
	ElementId^ elementId, 
	String^ scanTag, 
	Document^ doc
)

Parameters

elementId
Type: Autodesk.Revit.DB ElementId
Id of the overridden element.
scanTag
Type: System String
The tag identifying the particular scan within the PointCloudInstance element. Tags can be obtained from PointCloudInstance via method getScans.
doc
Type: Autodesk.Revit.DB Document
Document containing the overridden element.

Return Value

The override settings assigned to the scan, if present, or a default override settings if nothing was found.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException Thrown when supplied scanTag is not empty while doc is NULL
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →