RemoveCurtainGrid Method


Remove CurtainGrid from the specified face for the CurtainSystem.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public void RemoveCurtainGrid(
	Reference face
)
Visual Basic
Public Sub RemoveCurtainGrid ( _
	face As Reference _
)
Visual C++
public:
void RemoveCurtainGrid(
	Reference^ face
)

Parameters

face
Type: Autodesk.Revit.DBReference
The face CurtainGrid will be removed from.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException Thrown when the input parameter face is a null reference (Nothing in Visual Basic).
Autodesk.Revit.ExceptionsInvalidOperationException Thrown when the CurtainGrid cannot be removed from the specified face or regenerate fails.

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 →