CurtainGrid
Description:
Represents a curtain grid element within Autodesk Revit.
Represents a curtain grid element within Autodesk Revit.
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.
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.
public class CurtainGrid : APIObject
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AddGridLine(Boolean, XYZ, Boolean) | nullNothingnullptr | Add a grid line to the curtain grid. | |
| ChangePanelType(Element, ElementType) | Element | Change the type of a curtain panel. | |
| GetCell(ElementId, ElementId) | The cell. | Get the specified cell located by the intersection of the grid lines. | |
| GetCurtainCells() | ICollection<CurtainCell> | Gets the CurtainCells owned by this curtain grid. | |
| GetMullionIds() | The mullion ElementIds | Gets all ElementIds of the mullions of the curtain grid. | |
| GetPanelIds() | The panel ElementIds | Gets all ElementIds of the panels of the curtain grid. | |
| GetPanel(ElementId, ElementId) | nullNothingnullptr | Get the specified panel located by the intersection of the grid lines. | |
| GetUGridLineIds() | ICollection<ElementId> | Gets all ElementIds of grid lines in the U direction. | |
| GetUnlockedMullionIds() | ICollection<ElementId> | Gets all ElementIds of the unlocked mullions of the curtain grid. | |
| GetUnlockedPanelIds() | ICollection<ElementId> | Gets all ElementIds of the unlocked panels of the curtain grid. | |
| GetVGridLineIds() | ICollection<ElementId> | Gets all ElementIds of grid lines in the V direction. | |
| Dispose() | None | Causes the object to release immediately any resources it may be utilizing. | APIObject |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Grid1Angle | double | The angle for the U grid line pattern of the curtain grid. | |
| Grid1Justification | CurtainGridAlignType | The justification for the U grid line pattern of the curtain grid. | |
| Grid1Offset | double | The offset for the U grid line pattern of the curtain grid. | |
| Grid2Angle | double | The angle for V grid line pattern of the curtain grid. | |
| Grid2Justification | CurtainGridAlignType | The justification for the V grid line pattern of the curtain grid. | |
| Grid2Offset | double | The offset for V grid line pattern of the curtain grid. | |
| NumPanels | int | The number of panels. | |
| NumULines | int | Get the number of grid lines in the U direction. | |
| NumVLines | int | Get the number of grid lines in the V direction. | |
| IsReadOnly | bool | Identifies if the object is read-only or modifiable. | APIObject |