Defining the Mesh Worksheet

To begin using the APIs to define the Mesh Worksheet as described in the following example, use the following variables to refer to the mesh worksheet data and the three named selections to be used in the worksheet. The MeshControlWorksheet object is used to control the worksheet data.

mws = Model.Mesh.Worksheet
nsels = Model.NamedSelections 
ns1 = nsels.Children[0]  
ns2 = nsels.Children[1] 
ns3 = nsels.Children[2]