Skip to content

CurtainGrid

Public Class

Represents a curtain grid element within Autodesk Revit.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.CurtainGrid

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class CurtainGrid : APIObject

The CurtainGrid type exposes the following members.

Properties

Name

Description


Public Property

The angle for the U grid line pattern of the curtain grid.


Public Property

The justification for the U grid line pattern of the curtain grid.


Public Property

The offset for the U grid line pattern of the curtain grid.


Public Property

The angle for V grid line pattern of the curtain grid.


Public Property

The justification for the V grid line pattern of the curtain grid.


Public Property

The offset for V grid line pattern of the curtain grid.


Public Property
Code Example

Identifies if the object is read-only or modifiable.
(Inherited from APIObject)


Public Property

The number of panels.


Public Property

Get the number of grid lines in the U direction.


Public Property

Get the number of grid lines in the V direction.


Methods

Name

Description


Public Method

Add a grid line to the curtain grid.


Public Method

Change the type of a curtain panel.


Public Method
Dispose

Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

Get the specified cell located by the intersection of the grid lines.


Public Method

Gets the CurtainCells owned by this curtain grid.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method
GetMullionIds

Gets all ElementIds of the mullions of the curtain grid.


Public Method

Get the specified panel located by the intersection of the grid lines.


Public Method
GetPanelIds

Gets all ElementIds of the panels of the curtain grid.


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

Gets all ElementIds of grid lines in the U direction.


Public Method
GetUnlockedMullionIds

Gets all ElementIds of the unlocked mullions of the curtain grid.


Public Method
GetUnlockedPanelIds

Gets all ElementIds of the unlocked panels of the curtain grid.


Public Method

Gets all ElementIds of grid lines in the V direction.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Remarks

This element is obtained from a curtain wall, curtain system, or curtain roof. A curtain wall has only one curtain grid, while a curtain system or curtain roof may have several curtain grids.