CurtainGrid Class


Curtain Grid Class

Represents a curtain grid element within Autodesk Revit.
Inheritance Hierarchy

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 Grid1Angle The angle for the U grid line pattern of the curtain grid.
Public property Grid1Justification The justification for the U grid line pattern of the curtain grid.
Public property Grid1Offset The offset for the U grid line pattern of the curtain grid.
Public property Grid2Angle The angle for V grid line pattern of the curtain grid.
Public property Grid2Justification The justification for the V grid line pattern of the curtain grid.
Public property Grid2Offset The offset for V grid line pattern of the curtain grid.
Public property Code example IsReadOnly Identifies if the object is read-only or modifiable.
(Inherited from APIObject )
Public property NumPanels The number of panels.
Public property NumULines Get the number of grid lines in the U direction.
Public property NumVLines Get the number of grid lines in the V direction.
Top
Methods
Name Description
Public method AddGridLine Add a grid line to the curtain grid.
Public method ChangePanelType 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 GetCell Get the specified cell located by the intersection of the grid lines.
Public method GetCurtainCells 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 GetPanel 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 GetUGridLineIds 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 GetVGridLineIds Gets all ElementIds of grid lines in the V direction.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
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.
See Also