CurtainGrid Class

Represents a curtain grid element within Autodesk Revit.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBAPIObject
    Autodesk.Revit.DBCurtainGrid

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
 NameDescription
Public propertyGrid1AngleThe angle for the U grid line pattern of the curtain grid.
Public propertyGrid1JustificationThe justification for the U grid line pattern of the curtain grid.
Public propertyGrid1OffsetThe offset for the U grid line pattern of the curtain grid.
Public propertyGrid2AngleThe angle for V grid line pattern of the curtain grid.
Public propertyGrid2JustificationThe justification for the V grid line pattern of the curtain grid.
Public propertyGrid2OffsetThe offset for V grid line pattern of the curtain grid.
Public propertyCode exampleIsReadOnlyIdentifies if the object is read-only or modifiable.
(Inherited from APIObject)
Public propertyNumPanels The number of panels.
Public propertyNumULines Get the number of grid lines in the U direction.
Public propertyNumVLines Get the number of grid lines in the V direction.
Top
Methods
 NameDescription
Public methodAddGridLine Add a grid line to the curtain grid.
Public methodChangePanelType Change the type of a curtain panel.
Public methodDisposeCauses the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetCell Get the specified cell located by the intersection of the grid lines.
Public methodGetCurtainCells Gets the CurtainCells owned by this curtain grid.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetMullionIds Gets all ElementIds of the mullions of the curtain grid.
Public methodGetPanel Get the specified panel located by the intersection of the grid lines.
Public methodGetPanelIds Gets all ElementIds of the panels of the curtain grid.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetUGridLineIds Gets all ElementIds of grid lines in the U direction.
Public methodGetUnlockedMullionIds Gets all ElementIds of the unlocked mullions of the curtain grid.
Public methodGetUnlockedPanelIds Gets all ElementIds of the unlocked panels of the curtain grid.
Public methodGetVGridLineIds Gets all ElementIds of grid lines in the V direction.
Public methodToStringReturns 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