SetRestrictGroup Method


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

Namespace: Autodesk.Revit.DB.Fabrication
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2020

Syntax

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

Parameters

restrictGroup
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 →