Configuring a Generic Batch Adapter

You use the Generic Batch adapterto run a specified batch utility and to pass arguments to the batch utility.

  1. From the 3DEXPERIENCEOperations section of the action bar, click Generic Batch and drop it on the process diagram.
  2. Double-click Generic Batch .
  3. From the Generic Batch Editor that appears, select the Input tab and configure the input options.

    For more information, see Configuring the Input Options.

  4. Select the Run tab.
  5. If the batch utility will operate on an object in the process (such as a part or a simulation), select one of the following:
    OptionDescription
    Content Lets you select an object that is already a part of the simulation process.

    Select to search and select a simulation object to add to the simulation process as referenced content.

    Parameter Lets you select an object parameter that refers to a physics simulation object.

    Select to search and select an object parameter, which the app creates as a referenced parameter.

    Important: If you are importing a file or object, do not select anything in the Select Object section.

  6. To upload a document containing the XML file that lists the name of the batch utility to run and its arguments, do either of the following:
    OptionDescription
    Searches a 3DEXPERIENCE object or document on the server to add as referenced content.
    Adds a non-versioned simulation document from your local directory.
    Adds a versioned simulation document from your local directory.
    Adds a referenced document from your local directory.
  7. If prompted, click Yes from the dialog box that appears to save the simulation process and to continue.
  8. From the Select files dialog box that appears, select the XML file to upload.

    The XML file should list the name of the batch utility to run and any arguments that are passed to the batch utility. An example of the contents of the XML file is shown below.

    <?xml version='1.0' encoding='UTF-8' ?>
    <root>
    	<Option name="PLMBatchName">DataExchangePLMBatch</Option>
    	<Option name="Operation">Export</Option>
    	<Option name="Usage">STEP</Option>
    	<Option name="Extension">stp</Option>
    	<Option name="Material">${Material}</Option> 
    </root>
    

    Note: You can use the CATUTIL utility to determine the arguments that are expected by the batch utility. For more information, see Running a Batch from the Command Line.

  9. Click Open.
    The object on which the batch utility will operate and the document containing the XML file are added to the simulation activity's Internal Data category.
  10. Optional: Expand and configure the Execution Options.

    For more information, see Configuring the Execution Options.

  11. Select the Output tab, and configure the output options.

    For more information, see Configuring the Output Options.

  12. Click OK.