Difference between revisions of "Undocumented Custom Task"

From OSUPDOCS
Jump to navigation Jump to search
Line 1: Line 1:
If a [[MPM Input Files#Custom Tasks|custom task]] is available but is unknown to [[NairnFEAMPM]] and/or [[NairnFEAMPMViz]], you can still use such tasks in scripted input files by adding them with an [[XMLData Command|<tt>XMLData</tt> command block]]. The template for submitting undocumented custom tasks is:
If a [[MPM Input Files#Custom Tasks|custom task]] is available but is unknown to [[NairnFEAMPM]], you can still use such tasks in scripted input files by adding them with an [[XMLData Command|<tt>XMLData</tt> command block]]. The template for submitting undocumented custom tasks is:


  XMLData,CustomTasks
  XMLData,CustomTasks

Revision as of 01:28, 26 December 2013

If a custom task is available but is unknown to NairnFEAMPM, you can still use such tasks in scripted input files by adding them with an XMLData command block. The template for submitting undocumented custom tasks is:

XMLData,CustomTasks
    <Schedule name='Task Name'>
      <Parameter name='param 1'>2</Parameter>
      <Parameter name='param 2'>10</Parameter>
    </Schedule>
EndXMLData

where you enter the name of the task in the <Schedule> command and list all parameters needed by that task in subordinate Parameter commands. This approach is useful for user-written custom tasks or when first developing a custom task.