SetPointCloudRegionOverrideSettings Method (ElementId, PointCloudOverrideSettings, String, Document)


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

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

Syntax

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

Parameters

elementId
Type: Autodesk.Revit.DB ElementId
Id of the element to be overridden.
newSettings
Type: Autodesk.Revit.DB.PointClouds PointCloudOverrideSettings
Override settings to be assigned.
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 element to be overridden.

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
Autodesk.Revit.Exceptions ArgumentOutOfRangeException 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 →