GetPointCloudRegionOverrideSettings Method (ElementId, String, Document)


Gets override settings assigned to a particular region 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 GetPointCloudRegionOverrideSettings(
	ElementId elementId,
	string regionTag,
	Document doc
)
Visual Basic
Public Function GetPointCloudRegionOverrideSettings ( _
	elementId As ElementId, _
	regionTag As String, _
	doc As Document _
) As PointCloudOverrideSettings
Visual C++
public:
PointCloudOverrideSettings^ GetPointCloudRegionOverrideSettings(
	ElementId^ elementId, 
	String^ regionTag, 
	Document^ doc
)

Parameters

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

Return Value

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

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException Thrown when supplied regionTag 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 →