Remove CurtainGrid from the specified face for the CurtainSystem.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
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.DB..::..Reference
The face CurtainGrid will be removed from.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | Thrown when the input parameter face is nullNothingnullptra null reference (Nothing in Visual Basic). |
| Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown when the CurtainGrid cannot be removed from the specified face or regenerate fails. |