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 <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]] 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:


  XMLData,CustomTasks
  XMLData,CustomTasks
Line 8: Line 8:
  EndXMLData
  EndXMLData


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

Revision as of 13:43, 25 December 2013

If a 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 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.