CurtainGrid
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
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.
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)
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.