networkScript

Runs a network subsetter script via JSR223. The network is put as "network" and is a VelocityNetwork, the same class used in the templates for the printlineNetworkProcess. See the scripting tutorial for more information on inlining scripts into a SOD recipe.

Example

<networkScript type="jython">
    if networkAttr.get_code() == 'IU' or networkAttr.get_code() == 'II':
      print networkAttr.get_code()
      result = True
    else:
      result = False
</networkScript>

This consists of

<networkScript>

An attribute named type with a value of Any Text Any text
</networkScript>

Places this can be found

In network there is a choice between all of the following