SetRestrictPalette Method


Restrict the placement of parts to only use parts associated to the passed in fabrication palette identifier.

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

Syntax

C#
public void SetRestrictPalette(
	bool restrictPalette
)
Visual Basic
Public Sub SetRestrictPalette ( _
	restrictPalette As Boolean _
)
Visual C++
public:
void SetRestrictPalette(
	bool restrictPalette
)

Parameters

restrictPalette
Type: System Boolean

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 →