Dom Node Modifiers

Introduction

Operations are recorded by saving the XML representation of the dialog in the session file. This is referred to as DOM node. After a script is created, users can modify the arguments to the operation by modifying the DOM node.

Example

var FaceIDs=[];
    SimlabDoc.GetEntityFromGroup("Face_Group",FaceIDs);

    var DeleteEntity='<DeleteEntity CheckBox="ON" UUID="BF2C866D-8983-4477-A3E9-2BBBC0BC6C2E">\
      <tag Value="-1"/>\
      <Name Value=""/>\
      <SupportEntities>\
       <Entities>\
       <Model>Sample.gda</Model>\
       <Face>'+FaceIDs+'</Face>\
       </Entities>\
      </SupportEntities>\
      </DeleteEntity>';
    Simlab.Execute(DeleteEntity);