Quintiq file version 2.0
#parent: CustomDrawRC/CustomDrawDataLayerInputGroupGrouping
Response OnDetermineRegion (
  OperationInputGroup object
) id:Response_CustomDrawRC_CustomDrawDataLayerInputGroupGrouping_OnDetermineRegion
{
  #keys: '[139394.0.1283366561]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebCustomDrawDataLayer_OnDetermineRegion'
  Precondition:
  [*
    return not object.IsSystem();
  *]
  QuillAction
  {
    Body:
    [*
      // Draw the grouping operation input in operation input group
      rcv := MacroPlan.RoutingConfiguratorView();
      thickness := rcv.OperationInputGroupThickness() - 1;
      
      layer.AddRegion( object.PISPX() - thickness, 
                       object.PISPY() - thickness, 
                       rcv.PISPWidth() + thickness * 2, 
                       object.PISPHeight() + thickness * 2,
                       0 );
    *]
    GroupServerCalls: false
  }
}
