Share

DividedSurface.GetTileFamilyInstance Method

Get a reference to a tile element associated with a given seed node.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public FamilyInstance GetTileFamilyInstance(
	GridNode gridNode,
	int tileIndex
)

Parameters

gridNode  GridNode
 
tileIndex  Int32
 

Return Value

FamilyInstance
A FamilyInstance object. Returns null if the ObjectType property is not a FamilySymbol. Returns null if the grid node is not a "seed node", or if the tile is omitted due to boundary conditions.

Exceptions

ExceptionCondition
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].

See Also

Reference

Was this information helpful?