| Revit Preview Release API |
| DividedSurface..::..GetTileFamilyInstance Method |
| DividedSurface Class See Also |
Get a reference to a tile element
associated with a given seed node.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Syntax
| C# |
|---|
public FamilyInstance GetTileFamilyInstance( GridNode gridNode, int tileIndex ) |
| Visual Basic |
|---|
Public Function GetTileFamilyInstance ( _ gridNode As GridNode, _ tileIndex As Integer _ ) As FamilyInstance |
| Visual C++ |
|---|
public: FamilyInstance^ GetTileFamilyInstance( GridNode gridNode, int tileIndex ) |
Return Value
A FamilyInstance object. Returns nullNothingnullptra null reference (Nothing in Visual Basic) if the ObjectType property is not a FamilySymbol. Returns nullNothingnullptra null reference (Nothing in Visual Basic) if the grid node is not a "seed node", or if the tile is omitted due to boundary conditions.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | Thrown if the grid node is outside of the range specified by NumberOfUGridlines and NumberOfVGridlines, or if tileIndex is outside the range [0, TilesPerSeedNode-1]. |