Removes all activated slices from the current mesh.
objDocument.MeshSlicesOff()
Valid only if objDocument is of type VMR and if a mesh has been loaded or created. 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.SliceMeshAxial i
doc.RefreshSurfaceWindow
Next
doc.MeshSlicesOff
// JScript
for(i=30; i<=230; i+=2)
{
doc.SliceMeshAxial(i);
doc.RefreshSurfaceWindow();
}
doc.MeshSlicesOff();
# PerlScript
for($i=30; $i<=230; $i+=2)
{
$doc->SliceMeshAxial($i);
$doc->RefreshSurfaceWindow();
}
$doc->MeshSlicesOff();