Read multiple specific material property attributes

Procedure

  1. In the navigator, click Workflow > Workflows.
  2. In the Workflows list, select the resource you want to work with.
    Note: A resource must already have been added in order to select it from this list.
  3. In the Displays panel, click Workflow Management > Workflow Editor.
  4. Click the Workflow Editor tab.
  5. Insert an activity:
    • At the workflow level:
      • From the Standard Activities panel, click and drag the activity you want to insert to a drop point.
        Note: Activities can exist only between the presubprocess and postsubprocess.
    • At the subprocess level:
      • Double-click the local subprocess you want to add the activity to.
      • From the Standard Activities panel, click and drag the activity you want to insert to a drop point.
  6. On the activity configuration panel, click Configure Method.
    The Configure Method dialog box appears, displaying a list of the available call method service providers.
  7. Double-click IMaterial to display the list of available call methods.
  8. Click ReadPropertyAttributesByName, and then click Finish. The input parameters appear in the activity configuration panel.
  9. Configure the call method as follows:
    1. In the Attributes field, click the ellipsis button to open the String Collection Editor dialog box where you can enter the names of the attributes you want to read.
    2. In the Material field, click the ellipsis button, and then select the material definition or class whose property you want to read.
    3. In the Property Name field, select the property whose attributes you want to read.
  10. Click Save.
  11. Run the workflow, or, on the Test/Debug tab, test the workflow to ensure that your input parameters are configured correctly.