Slices a surface mesh parallel to the XZ-plane at the specified Y-level.
objDocument.SliceMeshCoronal(intSlice)
Valid only if objDocument is of type VMR and if a mesh has been loaded or created. The slice shows the data contained at that level in the respective VMR document. If multiple surface meshes are present, the method is applied to the current mesh. If a mesh is created or loaded/added, it automatically becomes the current mesh. In the case of multiple meshes, you can specify the current mesh using the XXX method. To update the Surface Module window, call the RefreshSurfaceWindow method.
' VBScript
For i = 30 To 230 Step 2
doc.SliceMeshCoronal i
doc.RefreshSurfaceWindow
Next
// JScript
for(i=30; i<=230; i+=2)
{
doc.SliceMeshCoronal(i);
doc.RefreshSurfaceWindow();
}
#
PerlScript
for($i=30; $i<=230; $i+=2)
{
$doc->SliceMeshCoronal($i);
$doc->RefreshSurfaceWindow();
}