Loads a surface mesh file. Surface mesh file names have extension ".srf".
objDocument.LoadMesh(strMeshFileName)
Valid only if objDocument is of type VMR and if the Surface Module window for this VMR project has been created. The loaded mesh is not shown automatically in the Surface Module window. To update it, call the RefreshSurfaceWindow method.
' VBScript
Set doc = BrainVoyager.OpenDocument("subject.vmr")
doc.SwitchToSurfaceModule
doc.LoadMesh "subject.srf"
doc.RefreshSurfaceWindow
// JScript
doc = BrainVoyager.OpenDocument("subject.vmr");
doc.SwitchToSurfaceModule();
doc.LoadMesh("subject.srf");
doc.RefreshSurfaceWindow();
# PerlScript
$doc = $BrainVoyager->OpenDocument("subject.vmr");
$doc->SwitchToSurfaceModule();
$doc->LoadMesh("subject.srf");
$doc->RefreshSurfaceWindow();