Element.setNodeScriptedResults


setNodeScriptedResults(node, val, component)

Specify a named result value at one node of this element Only really useful when called for all nodes of all visible elements Then allows (for example) drawing of unsmoothed contours of any arbitary values If the given name does not already exist, this call creates a new component to receive the values Note that the results will not be removed from the system (and so will potentially use a large amount of memory) until explicitly removed with a call to flushScriptedResults

nodeinteger or IFNode local node (0..nNodes-1) or node pointer
valdoubleUser results value
componentstringUser results component
Return valuenone 

Example


      nodes = element.getNodes()
' loop nodes
      for k = 0 to ubound(nodes)
' set unaveraged node results
        call element.setNodeScriptedResults(k, myResultValue, "MyComponentName")
     next

See also flushScriptedResults initialiseScriptedResults setScriptedResultsEntity specifyResultsUpdateScript specifyResultsUpdateModule setGaussScriptedResults setScriptedResults

Back to Element

Back to Overview