Hoppa till huvudinnehållet

Process results of Geoprocessor which returns GPMultiValue<GPFeatureRecordSetLayer>

Kommentarer

1 kommentar

  • Malcolm Walker
    • Community-Manager
    Hi Nik,

     

    You shouldn't need to use a Cast<T> activity to get the results of your geoprocessor as a GPMultiValue:GPFeatureRecordSetLayer.

     

    The expected object type is just that, GPMultiValue<GPFeatureRecordSetLayer>.  You can make a variable of this type by selecting Browse for Types... and typing GPMultiValue.  When you select GPMultiValue<T> then you must also choose the T class, which is GPFeatureRecordSet layer.

     

    A super easy shortcut is to type F3 when your cursor is in the Geoprocessor activity input/output box, because then Workflow Designer will pick an appropriate class type for a variable for that box.

     

    To iterate over the resulting collection of layers, use the .Value member of the GPMultiValue object.

     

    Regards,

     

    -Malcolm
    0

Du måste logga in om du vill lämna en kommentar.