http://images.businessweek.com/ss/05/06/sharing/image/sharing.jpgPPT_LOGO_4b
‹#›
Autodesk Confidential Information
Developer Days Online 
The Wine – Conceptual Design API
Topology Navigation of div surface using grid nodes and GetTileFamilyInstance
GridNode gn = new GridNode();
while (u < ds.UGridlineNumber)
                {
                    gn.UIndex = u;
  while (v < ds.VGridlineNumber)
                    {
                        gn.VIndex = v;
                        FamilyInstance fi = ds.GetTileFamilyInstance(gn, 0);
                        if (fi != null)
                        {
                            if (Math.Abs(gn.UIndex - gn.VIndex) % 6 == 0)  // logic specific to the tile pattern
                            {
                                fi.Symbol = fs_glazed;
                            }
                        }
                        v = v + 1;
                    }
                    u = u + 1;
    }
GridNode wraps integers, Uindex & Vindex, to index into the 2D array of nodes in the divided surface
In this slide, we touch upon the ability to iterate through a grid. Grid node which is a new class which wraps up the U and V index of the div surface. So we have 2 main nested loops which loop through the U and the V grid lines and then we use the GetTileFamilyInstance to access the grid nodes by specifying the grid node number and the rotation parameter. And with the family instance, work on a logic specific to the tile pattern based on U and V index number, we can set certain panels \ tiles to the type required say glazed type.