Layout
{
   Name = "Vuoto"
   Description = "Layout vuoto"
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "Yes"
}

Layout
{
   Name = "Composti"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%composti.emf"
   Landscape = "Yes"

   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%CMP_dis_margine%"
      dH = "%CMP_dis_margine%"
      W  = "%CMP_dis_dim%"
      H  = "%CMP_dis_dim%"
      View  = "%CMP_dis_view%"
      Render = "No"
      Perspective = "No"

      Show
      {
         "M4_Show Ambienti Hide"
         "M4_Show Ambienti hidelenghtinfo"
         "M4_Show Ambienti hidecornerinfo"
         "Show Riferimento Off"
         "Show Alias delete \"NoPrint Scassi\""
      }

      Layer
      {
         Name = "Layer_1"
         Description = ""
         Line_type = 0
         Line_size = 0
         Hidden_line = "Yes"
      }
   }
}

Layout
{
   Name = "Top_Assieme"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "No"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }


   //frame vista top
   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%wk_FORM_dW%"
      dH = "%wk_FORM_dH%"
      W  = "%wk_FORM_W%"
      H  = "%wk_FORM_H%"
      View = "front"
      Render = "No"
      //Perspective = "No"

      Show
      {
         "M4_SHOW Ambienti Hide"
         "Show none"

         "SetViewHoops view orbit %wk_view_roll%"
         "SetViewHoops view orbit %wk_view_iso_roll%"

         "Show var_num Add flag_stampa 1"
         "Show var_num Add flag_stampa_tratt 1"

         "Show Alias add %alias_scr%"
         "Show Alias add %AliasQuota%"
         "Show Alias add %AliasQuotaLat%"

         "Show Alias delete \"NoPrint Scassi\""
      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = 0
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "M4_SHOW Ambienti Show"
         }
      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         //Line_size = "%wk_SP_LINEA_MOBILI%"
         Line_size = 80
         Hidden_line = "Yes"

         Show
         {
            "M4_SHOW Ambienti Hide"
            "Show none"
            "Show var_num Add flag_stampa 1"
         }
      }

      Layer
      {
         Name = "Layer tratteggio"
         Description = ""
         Line_type = 1
         Line_size = 1
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show var_num Add flag_stampa_tratt 1"
         }
      }

      Layer
      {
         Name = "Layer scritte"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %alias_scr%"
         }
      }

      Layer
      {
         Name = "Layer quote"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %AliasQuota%"
            "Show Alias add %AliasQuotaLat%"
         }
      }
   }
}

Layout
{
   Name = "Top_Pianta"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "Yes"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   //dettaglio
   Image
   {
      File = "%wk_STP_DT_IMG%"

      //X = 216
      //Y = 143
      //W = 60
      //H = 60

      //X = 217
      //Y = 144
      //W = 70
      //H = 57.5

      X = "%wk_STP_DT_IMG_X%"
      Y = "%wk_STP_DT_IMG_Y%"
      W = "%wk_STP_DT_IMG_W%"
      H = "%wk_STP_DT_IMG_H%"
   }

   //Luca 15/06/2020 aggiungo secondo dettaglio
   //potrebbe andare sopra ad alcune scritte
   Image
   {
      File = "%wk_STP_DT_IMG2%"

      //X = 217
      //Y = 86.5
      //W = 70
      //H = 57.5

      X = "%wk_STP_DT_IMG2_X%"
      Y = "%wk_STP_DT_IMG2_Y%"
      W = "%wk_STP_DT_IMG2_W%"
      H = "%wk_STP_DT_IMG2_H%"
   }

   //frame vista top
   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%wk_FORM_dW%"
      dH = "%wk_FORM_dH%"
      W  = "%wk_FORM_W%"
      H  = "%wk_FORM_H%"

      View = "top"
      Render = "No"
      //Perspective = "No"

      Show
      {
         "M4_SHOW Ambienti Hide"
         "Show none"

         "SetViewHoops view roll %wk_view_ang%"

         "Show var_num Add flag_stampa 1"
         "Show var_num Add flag_stampa_tratt 1"

         "Show Alias add %alias_scr%"
         "Show Alias add %AliasQuota%"
         "Show Alias add %AliasQuotaLat%"

         "Show Alias delete \"NoPrint Scassi\""

      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"

         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show var_num Add flag_stampa 1"
            "Show var_num delete flag_stampa -1"

            "Show var_num delete NoPrint_StpTop 1"
         }
      }

      Layer
      {
         Name = "Layer tratteggio"
         Description = ""
         Line_type = 3
         Line_size = "%wk_SP_LINEA_MOBILI_TRATT%"
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show var_num Add flag_stampa_tratt 1"
         }
      }

      Layer
      {
         Name = "Layer scritte"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %alias_scr%"
         }
      }

      Layer
      {
         Name = "Layer quote"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %AliasQuota%"
            "Show Alias add %AliasQuotaLat%"
         }
      }
   }

   //frame vista fronte [TOP STEEL]
   Frame
   {
      Name = "Frame_2"
      Description = ""
      dW = "%wk_FORM2_dW%"
      dH = "%wk_FORM2_dH%"
      W  = "%wk_FORM2_W%"
      H  = "%wk_FORM2_H%"
      View = "front"
      Render = "No"
      //Perspective = "No"

      Show
      {
         "M4_SHOW Ambienti Hide"
         "Show none"

         "SetViewHoops view orbit %wk_view_orbit%"

         "Show var_num Add flag_stampa 1"
         "Show var_num Add flag_stampa_tratt 1"

         "Show Alias add %alias_scr%"
         "Show Alias add %AliasQuota%"
         "Show Alias add %AliasQuotaLat%"

         "Show Alias delete \"NoPrint Scassi\""

      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show var_num Add flag_stampa 1"
            "Show var_num delete flag_stampa -1"

            "Show var_num delete NoPrint_StpTop 1"
         }
      }

      Layer
      {
         Name = "Layer scritte"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add STP_SCR_TOP_VF"
         }
      }

      Layer
      {
         Name = "Layer quote"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add STP_QUO_TOP_VF"
            "Show Alias add STP_QUO_TOP_VF"
         }
      }
   }

   Image
   {
      File = "%wk_STP_OVERLAY%"

      X = "0"
      Y = "0"
      W = "297"
      H = "210"
   }
}

Layout
{
   Name = "Bifacciali_Materia"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "No"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }


   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%wk_FORM_dW%"
      dH = "%wk_FORM_dH%"
      W  = "%wk_FORM_W%"
      H  = "%wk_FORM_H%"
      View = "front"
      Render = "No"
      //Perspective = "No"

      Show
      {
         "M4_SHOW Ambienti Hide"
         "Show none"

         "SetViewHoops view orbit %wk_view_roll%"

         "Show var_num Add flag_stampa 1"
         //"Show var_num Add flag_stampa_tratt 1"

         "Show Alias add %alias_scr%"
         "Show Alias add %AliasQuota%"
         "Show Alias add %AliasQuotaLat%"

         "Show Alias delete \"NoPrint Scassi\""
      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"
         Hidden_line = "No"

         Show
         {
            "M4_SHOW Ambienti Hide"
            "Show none"
            "Show var_num Add flag_stampa 1"
            "Show var_num delete flag_stampa_tratt 1"
         }
      }

      Layer
      {
         Name = "Layer tratteggio"
         Description = ""
         Line_type = 1
         Line_size = 1
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show var_num Add flag_stampa_tratt 1"
         }
      }

      Layer
      {
         Name = "Layer tratteggio fine"
         Description = ""
         Line_type = 2
         Line_size = 0
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show var_num Add flag_stampa_tratt_fine 1"
         }
      }

      Layer
      {
         Name = "Layer scritte"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %alias_scr%"
         }
      }

      Layer
      {
         Name = "Layer quote"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %AliasQuota%"
            "Show Alias add %AliasQuotaLat%"

            "Show Alias delete NoPrintQuotaLat"

         }
      }
   }
}

Layout
{
   Name = "Pianta_BN"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "Yes"

   //logo
   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   //frame vista top
   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%wk_FORM_dW%"
      dH = "%wk_FORM_dH%"
      W  = "%wk_FORM_W%"
      H  = "%wk_FORM_H%"
      View = "top"
      Render = "No"

      Show
      {
         //"M4_SHOW Ambienti Hide"
         "M4_Show Ambienti hidelenghtinfo"
         "M4_Show Ambienti hidecornerinfo"

         "Show none"

         "Show var_num Add flag_stampa 1"
         "Show var_num Add flag_stampa_tratt 1"

         "Show alias Add \"%wk_cmd_alias_add%\""
         "Show alias Delete \"%wk_cmd_alias_del%\""

         "Show Alias add \"ScrittaNera\""
         "Show Alias add \"QuotaNera QuotaLNera\""

         "Show Alias add \"ScrittaBlu\""
         "Show Alias add \"QuotaBlu QuotaLBlu\""

         "Show Alias delete \"NoPrint Scassi\""

      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show alias Add \"%wk_cmd_alias_add%\""
            "Show alias Delete \"%wk_cmd_alias_del%\""
            "Show var_num Add flag_stampa 1"
            "Show var_num delete flag_stampa -1"
         }
      }

      Layer
      {
         Name = "Layer tratteggio"
         Description = ""
         Line_type = 1
         Line_size = "%wk_SP_LINEA_MOBILI_TRATT%"
         Hidden_line = "Yes"

         Show
         {
            "M4_SHOW Ambienti Hide"
            "Show none"
            "Show var_num Add flag_stampa_tratt 1"
         }
      }

      Layer
      {
         Name = "Layer scritte nere"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add \"ScrittaNera\""
         }
      }

      Layer
      {
         Name = "Layer quote nere"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add \"QuotaNera QuotaLNera\""
         }
      }

      Layer
      {
         Name = "Layer scritte Rossa"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"
         Line_rgb = "Yes"

         Show
         {
            //Comandi per poter stampare un layer di colore 16711680 (Rossa)
            "setviewhoops vista push_edge_color"
            "setviewhoops aaa set_edge_color 255"

            "Show none"
            "Show Alias add \"ScrittaRossa\""
         }
      }

      Layer
      {
         Name = "Layer quote Rossa"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"
         Line_rgb = "Yes"

         Show
         {
            //Comandi per poter stampare un layer di colore 255 (Rossa)
            "setviewhoops vista push_edge_color"
            "setviewhoops aaa set_edge_color 255"

            "Show none"
            "Show Alias add \"QuotaRossa QuotaLRossa\""
         }
      }

      Layer
      {
         Name = "Layer scritte blu"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "Yes"
         Line_rgb = "Yes"

         Show
         {
            //Comandi per poter stampare un layer di colore 16711680 (blu)
            "setviewhoops vista push_edge_color"
            "setviewhoops aaa set_edge_color 16711680"

            "Show none"
            "Show Alias add \"ScrittaBlu\""
         }
      }

      Layer
      {
         Name = "Layer quote blu"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "Yes"
         Line_rgb = "Yes"

         Show
         {
            //Comandi per poter stampare un layer di colore 16711680 (blu)
            "setviewhoops vista push_edge_color"
            "setviewhoops aaa set_edge_color 16711680"

            "Show none"
            "Show Alias add \"QuotaBlu QuotaLBlu\""
         }
      }
   }
}

Layout
{
   Name = "Pianta_XG"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "Yes"

   //logo
   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   //frame vista top
   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%wk_FORM_dW%"
      dH = "%wk_FORM_dH%"
      W  = "%wk_FORM_W%"
      H  = "%wk_FORM_H%"
      View = "top"
      Render = "No"

      Show
      {
         //"M4_SHOW Ambienti Hide"
         "M4_Show Ambienti hidelenghtinfo"
         "M4_Show Ambienti hidecornerinfo"

         "Show none"

         "Show var_num Add flag_stampa 1"
         "Show var_num Add flag_stampa_tratt 1"

         "Show alias Add \"%wk_cmd_alias_add%\""
         "Show alias Delete \"%wk_cmd_alias_del%\""

         "Show Alias add \"ScrittaNera\""
         "Show Alias add \"QuotaNera QuotaLNera\""

         "Show Alias add \"ScrittaBlu\""
         "Show Alias add \"QuotaBlu QuotaLBlu\""

         "Show Alias delete \"NoPrint Scassi\""

      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show alias Add \"%wk_cmd_alias_add%\""
            "Show alias Delete \"%wk_cmd_alias_del%\""
            "Show var_num Add flag_stampa 1"
            "Show var_num delete flag_stampa -1"
         }
      }

      Layer
      {
         Name = "Layer tratteggio"
         Description = ""
         Line_type = 1
         Line_size = "%wk_SP_LINEA_MOBILI_TRATT%"
         Hidden_line = "Yes"

         Show
         {
            "M4_SHOW Ambienti Hide"
            "Show none"
            "Show var_num Add flag_stampa_tratt 1"
         }
      }

      Layer
      {
         Name = "Layer scritte nere"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add \"ScrittaNera\""
         }
      }

      Layer
      {
         Name = "Layer quote nere"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add \"QuotaNera QuotaLNera\""
         }
      }

      Layer
      {
         Name = "Layer scritte Rossa"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"
         Line_rgb = "Yes"

         Show
         {
            //Comandi per poter stampare un layer di colore 16711680 (Rossa)
            "setviewhoops vista push_edge_color"
            "setviewhoops aaa set_edge_color 255"

            "Show none"
            "Show Alias add \"ScrittaRossa\""
         }
      }

      Layer
      {
         Name = "Layer quote Rossa"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"
         Line_rgb = "Yes"

         Show
         {
            //Comandi per poter stampare un layer di colore 255 (Rossa)
            "setviewhoops vista push_edge_color"
            "setviewhoops aaa set_edge_color 255"

            "Show none"
            "Show Alias add \"QuotaRossa QuotaLRossa\""
         }
      }

      Layer
      {
         Name = "Layer scritte blu"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"
         Line_rgb = "Yes"

         Show
         {
            //Comandi per poter stampare un layer di colore 16711680 (blu)
            "setviewhoops vista push_edge_color"
            "setviewhoops aaa set_edge_color 16711680"

            "Show none"
            "Show Alias add \"ScrittaBlu\""
         }
      }

      Layer
      {
         Name = "Layer quote blu"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"
         Line_rgb = "Yes"

         Show
         {
            //Comandi per poter stampare un layer di colore 16711680 (blu)
            "setviewhoops vista push_edge_color"
            "setviewhoops aaa set_edge_color 16711680"

            "Show none"
            "Show Alias add \"QuotaBlu QuotaLBlu\""
         }
      }

   }
}

Layout
{
   Name = "Stampa_XGLASS_Materia"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "No"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   Show
   {
      "Show None"
      "Show Riferimento Off"
      "M4_Show Ambienti Hide"
      "M4_Show Ambienti hidelenghtinfo"
      "M4_Show Ambienti hidecornerinfo"
      "M4_Show Quote Hide"
      "M4_Show Quote_Dinamiche Hide"
      "M4_Show Annotazioni Hide"

      //Salvo lo stato le luci
      "Lights push_light"
      //Spengo le luci
      "Lights off"
   }

   Frame
   {
      Name = "Left"
      Description = "Primo Frame Con muri, elementi a muro e quote"
      dW = "%wk_stp_left_dW%"
      dH = "%wk_stp_left_dH%"
      W  = "%wk_stp_left_W%"
      H  = "%wk_stp_left_H%"

      View = "front"
      Render = "No"
      Perspective = "No"
      RenderQualityFactor = 2

      Show
      {
         "Show None"

         "Show Var_num Add flag_stampa_left 1"
         "Show Var_num Add flag_stampa_trt_left 1"
         "Show alias Add scr_stp_left"
         "Show Alias Delete Linea"

         //ruoto
         "setviewhoops w0 front"
         "%wk_stp_cmd_rot_left%"
      }

      Layer
      {
         Name = "L1"
         Description = "Solo mobili"
         Line_type = 0
         Line_size = 5
         Hidden_line = "Yes"

         Show
         {
            "Show None"
            //attivo solo i mobili da visualizzare
            "Show Var_num Add flag_stampa_left 1"
            "Show alias Add scr_stp_left"

            //cancello le linee 'vetro'
            "Show Alias Delete Linea"
         }
      }

      //Layer
      //{
      //   Name = "L2"
      //   Description = "Mobili tratteggiati"
      //   //Line_type = 1
      //   Line_type = 2
      //   Line_size = 0
      //   Hidden_line = "Yes"
      //
      //   Show
      //   {
      //      "Show None"
      //
      //      "%wk_stp_cmd_rot_trat%"
      //      "Show Var_num Add flag_stampa_trt_left 1"
      //   }
      //}

   }

   Frame
   {
      Name = "right"
      Description = "Primo Frame Con muri, elementi a muro e quote"
      dW = "%wk_stp_right_dW%"
      dH = "%wk_stp_right_dH%"
      W  = "%wk_stp_right_W%"
      H  = "%wk_stp_right_H%"
      View = "front"
      Render = "No"
      Perspective = "No"
      RenderQualityFactor = 2

      Show
      {
         "Show None"

         "Show Var_num Add flag_stampa_right 1"
         "Show Var_num Add flag_stampa_trt_right 1"
         "Show alias Add scr_stp_right"
         "Show Alias Delete Linea"

         //ruoto
         "setviewhoops w0 front"
         "%wk_stp_cmd_rot_right%"

      }
      Layer
      {
         Name = "L1"
         Description = "Solo mobili"
         Line_type = 0
         Line_size = 5
         Hidden_line = "Yes"

         Show
         {
            "Show None"
            //attivo solo i mobili da visualizzare
            "Show Var_num Add flag_stampa_right 1"
            "Show alias Add scr_stp_right"

            //cancello le linee 'vetro'
            "Show Alias Delete Linea"
         }
      }

      //Layer
      //{
      //   Name = "L2"
      //   Description = "Mobili tratteggiati"
      //   //Line_type = 1
      //   Line_type = 2
      //   Line_size = 0
      //   Hidden_line = "Yes"
      //
      //   Show
      //   {
      //      "Show None"
      //
      //      "%wk_stp_cmd_rot_trat%"
      //      "Show Var_num Add flag_stampa_trt_right 1"
      //   }
      //}

   }

   Frame
   {
      Name = "front"
      Description = "Primo Frame Con muri, elementi a muro e quote"
      dW = "%wk_stp_front_dW%"
      dH = "%wk_stp_front_dH%"
      W  = "%wk_stp_front_W%"
      H  = "%wk_stp_front_H%"
      View = "front"
      Render = "No"
      Perspective = "No"
      RenderQualityFactor = 2

      Show
      {
         "Show None"

         "Show Var_num Add flag_stampa_front 1"
         "Show alias Add scr_stp_front"
         "Show Var_num Add flag_stampa_trt_front 1"
         "Show Alias Delete Linea"

         //ruoto
         "setviewhoops w0 front"
         "%wk_stp_cmd_rot_front%"

      }

      Layer
      {
         Name = "L1"
         Description = "Solo mobili"
         Line_type = 0
         Line_size = 5
         Hidden_line = "Yes"

         Show
         {
            "Show None"
            //attivo solo i mobili da visualizzare
            "Show Var_num Add flag_stampa_front 1"
            "Show alias Add scr_stp_front"

            //cancello le linee 'vetro'
            "Show Alias Delete Linea"
         }
      }

      //Layer
      //{
      //   Name = "L2"
      //   Description = "Mobili tratteggiati"
      //   //Line_type = 1
      //   Line_type = 2
      //   Line_size = 0
      //   Hidden_line = "Yes"
      //
      //   Show
      //   {
      //      "Show None"
      //
      //      "%wk_stp_cmd_rot_trat%"
      //      "Show Var_num Add flag_stampa_trt_front 1"
      //   }
      //}
   }

   Frame
   {
      Name = "top"
      Description = "Primo Frame Con muri, elementi a muro e quote"
      dW = "%wk_stp_top_dW%"
      dH = "%wk_stp_top_dH%"
      W  = "%wk_stp_top_W%"
      H  = "%wk_stp_top_H%"
      // vista "front" per essere ruotata in base all'angolo del muro
      View = "top"
      Render = "No"
      Perspective = "No"
      RenderQualityFactor = 2

      Show
      {
         "Show None"

         "Show Var_num Add flag_stampa_top 1"
         "Show alias Add scr_stp_top"
         "Show Var_num Add flag_stampa_trt_top 1"

         "Show Alias Delete Linea"

         //ruoto
         "setviewhoops w0 top"
         "%wk_stp_cmd_rot_top%"
      }

      Layer
      {
         Name = "L1"
         Description = "Solo mobili"
         Line_type = 0
         Line_size = 5
         Hidden_line = "Yes"

         Show
         {
            "Show None"
            //attivo solo i mobili da visualizzare
            "Show Var_num Add flag_stampa_top 1"
            "Show alias Add scr_stp_top"

            //cancello le linee 'vetro'
            "Show Alias Delete Linea"
         }
      }

      //Layer
      //{
      //   Name = "L2"
      //   Description = "Mobili tratteggiati"
      //   //Line_type = 1
      //   Line_type = 2
      //   Line_size = 0
      //   Hidden_line = "Yes"
      //
      //   Show
      //   {
      //      "Show None"
      //
      //      "%wk_stp_cmd_rot_trat%"
      //      "Show Var_num Add flag_stampa_trt_top 1"
      //   }
      //}
   }

   Frame
   {
      Name = "back"
      Description = "Primo Frame Con muri, elementi a muro e quote"
      dW = "%wk_stp_back_dW%"
      dH = "%wk_stp_back_dH%"
      W  = "%wk_stp_back_W%"
      H  = "%wk_stp_back_H%"
      // vista "front" per essere ruotata in base all'angolo del muro
      View = "front"
      Render = "No"
      Perspective = "No"
      RenderQualityFactor = 2

      Show
      {
         "Show None"

         "Show Var_num Add flag_stampa_back 1"
         "Show alias Add scr_stp_back"
         "Show Var_num Add flag_stampa_trt_back 1"

         "Show Alias Delete Linea"


         //ruoto
         "setviewhoops w0 front"
         "%wk_stp_cmd_rot_back%"
      }

      Layer
      {
         Name = "L1"
         Description = "Solo mobili"
         Line_type = 0
         Line_size = 5
         Hidden_line = "Yes"

         Show
         {
            "Show None"
            //attivo solo i mobili da visualizzare
            "Show Var_num Add flag_stampa_back 1"
            "Show alias Add scr_stp_back"

            //cancello le linee 'vetro'
            "Show Alias Delete Linea"
         }
      }

      //Layer
      //{
      //   Name = "L2"
      //   Description = "Mobili tratteggiati"
      //   //Line_type = 1
      //   Line_type = 2
      //   Line_size = 0
      //   Hidden_line = "Yes"
      //
      //   Show
      //   {
      //      "Show None"
      //
      //      "%wk_stp_cmd_rot_trat%"
      //      "Show Var_num Add flag_stampa_trt_back 1"
      //   }
      //}
   }

   Frame
   {
      Name = "ISO_1"
      Description = "Primo Frame Con muri, elementi a muro e quote"
      dW = "%wk_stp_iso1_dW%"
      dH = "%wk_stp_iso1_dH%"
      W  = "%wk_stp_iso1_W%"
      H  = "%wk_stp_iso1_H%"

      // vista "front" per essere ruotata in base all'angolo del muro
      View = "front"
      Render = "No"
      Perspective = "No"
      RenderQualityFactor = 2

      Show
      {
         "Show None"

         "Show Var_num Add flag_stampa_left 1"
         "Show Var_num Add flag_stampa_front 1"
         "Show Var_num Add flag_stampa_top 1"
         "Show Var_num Add flag_stampa_right 1"
         "Show Var_num Add flag_stampa_back 1"

         //"Show Var_num Add flag_stampa_trt_left 1"
         //"Show Var_num Add flag_stampa_trt_front 1"
         //"Show Var_num Add flag_stampa_trt_top 1"
         //"Show Var_num Add flag_stampa_trt_right 1"
         //"Show Var_num Add flag_stampa_trt_back 1"

         //cancello le linee 'vetro' e eventali scritte figlie
         "Show Alias Delete Linea"
         "Show Alias Delete Scritta_CAD"

         "Show alias Add scr_stp_left"
         "Show alias Add scr_stp_front"
         "Show alias Add scr_stp_top"
         "Show alias Add scr_stp_right"
         "Show alias Add scr_stp_back"

         // gestisco la vista della parete
         "setviewhoops w0 front"
         "%wk_stp_cmd_rot_iso1%"
      }

      Layer
      {
         Name = "L1"
         Description = "Solo mobili"
         Line_type = 0
         Line_size = 5
         Hidden_line = "Yes"
      }
   }

   Frame
   {
      Name = "ISO_2"
      Description = "Primo Frame Con muri, elementi a muro e quote"
      dW = "%wk_stp_iso2_dW%"
      dH = "%wk_stp_iso2_dH%"
      W  = "%wk_stp_iso2_W%"
      H  = "%wk_stp_iso2_H%"

      // vista "front" per essere ruotata in base all'angolo del muro
      View = "front"
      Render = "No"
      Perspective = "No"
      RenderQualityFactor = 2

      Show
      {
         "Show None"

         "Show Var_num Add flag_stampa_front 1"
         "Show Var_num Add flag_stampa_top 1"
         "Show Var_num Add flag_stampa_left 1"
         "Show Var_num Add flag_stampa_right 1"
         "Show Var_num Add flag_stampa_back 1"

         //"Show Var_num Add flag_stampa_trt_left 1"
         //"Show Var_num Add flag_stampa_trt_front 1"
         //"Show Var_num Add flag_stampa_trt_top 1"
         //"Show Var_num Add flag_stampa_trt_right 1"
         //"Show Var_num Add flag_stampa_trt_back 1"

         //cancello le linee 'vetro' e eventali scritte figlie
         "Show Alias Delete Linea"
         "Show Alias Delete Scritta_CAD"

         "Show alias Add scr_stp_top"
         "Show alias Add scr_stp_right"
         "Show alias Add scr_stp_back"
         "Show alias Add scr_stp_left"
         "Show alias Add scr_stp_front"


         //ruoto
         "setviewhoops w0 front"
         "%wk_stp_cmd_rot_iso2%"
      }

      Layer
      {
         Name = "L1"
         Description = "Solo mobili"
         Line_type = 0
         Line_size = 5
         Hidden_line = "Yes"
      }
   }
}

Layout
{
   Name = "Binario_Scorrevole"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "Yes"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   //frame vista top
   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%wk_FORM_dW%"
      dH = "%wk_FORM_dH%"
      W  = "%wk_FORM_W%"
      H  = "%wk_FORM_H%"
      View = "top"
      Render = "No"

      Show
      {
         "M4_SHOW Ambienti Hide"
         "Show none"

         "SetViewHoops view roll %wk_view_ang%"

         "Show var_num Add flag_stampa 1"

         "Show Alias add %alias_scr%"
         "Show Alias add %AliasQuota%"
         "Show Alias add %AliasQuotaLat%"

         "Show Alias delete \"NoPrint Scassi\""

      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"

         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show var_num Add flag_stampa 1"
         }
      }

      //Layer
      //{
      //   Name = "Layer tratteggio"
      //   Description = ""
      //   Line_type = 1
      //   Line_size = "%wk_SP_LINEA_MOBILI_TRATT%"
      //   Hidden_line = "Yes"
      //
      //   Show
      //   {
      //      "Show none"
      //      "Show var_num Add flag_stampa_tratt 1"
      //   }
      //}

      Layer
      {
         Name = "Layer scritte"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show Alias add %alias_scr%"
         }
      }

      Layer
      {
         Name = "Layer quote"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show Alias add %AliasQuota%"
            "Show Alias add %AliasQuotaLat%"
         }
      }
   }
}

Layout
{
   Name = "FianchiFinitura_CUC"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "No"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%wk_FORM_dW%"
      dH = "%wk_FORM_dH%"
      W  = "%wk_FORM_W%"
      H  = "%wk_FORM_H%"
      View = "front"
      Render = "No"
      //Perspective = "No"

      Show
      {
         "M4_SHOW Ambienti Hide"
         "Show none"

         "SetViewHoops view orbit %wk_view_roll%"
         "SetViewHoops view orbit %wk_view_roll_lato%"

         "Show var_num Add flag_stampa 1"
         "Show var_num Add flag_stampa_col 1"
         "Show var_num Add flag_stampa_tratt 1"

         "Show Alias add \"ScrittaNera\""
         "Show Alias add \"QuotaNera QuotaLNera\""

         "Show Alias add \"ScrittaBlu\""
         "Show Alias add \"QuotaBlu QuotaLBlu\""

         "Show Alias add \"ScrittaRossa\""
         "Show Alias add \"QuotaRossa QuotaLRossa\""

         "Show Alias delete \"NoPrint Scassi\""
      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         //Line_size = "%wk_SP_LINEA_MOBILI%"
         Line_size = 1
         Hidden_line = "No"

         Show
         {
            "M4_SHOW Ambienti Hide"
            "Show none"
            "Show var_num Add flag_stampa 1"
            "Show var_num delete flag_stampa_tratt 1"
         }
      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"
         Hidden_line = "No"
         Line_rgb = "Yes"

         Show
         {
            //Comandi per poter stampare un layer di colore 16711680 (Rossa)
            "setviewhoops vista push_edge_color"
            "setviewhoops aaa set_edge_color 98300550"

            "Show none"
            "Show var_num Add flag_stampa_col 1"

            //Luca 11/01/2022
            "Show Alias delete FFPerno"
         }
      }

      Layer
      {
         Name = "Layer tratteggio"
         Description = ""
         Line_type = 1
         Line_size = 1
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show var_num Add flag_stampa_tratt 1"

            //Luca 11/01/2022
            "Show Alias delete FFPerno"

            "Show var_num delete flag_stampa 1"
            "Show var_num delete flag_stampa_col 1"
         }
      }

      Layer
      {
         Name = "Layer scritte nere"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add \"ScrittaNera\""
         }
      }

      Layer
      {
         Name = "Layer quote nere"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add \"QuotaNera QuotaLNera\""
         }
      }

      Layer
      {
         Name = "Layer scritte Rossa"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"
         Line_rgb = "Yes"

         Show
         {
            //Comandi per poter stampare un layer di colore 16711680 (Rossa)
            "setviewhoops vista push_edge_color"
            "setviewhoops aaa set_edge_color 255"

            "Show none"
            "Show Alias add \"ScrittaRossa\""
         }
      }

      Layer
      {
         Name = "Layer quote Rossa"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"
         Line_rgb = "Yes"

         Show
         {
            //Comandi per poter stampare un layer di colore 255 (Rossa)
            "setviewhoops vista push_edge_color"
            "setviewhoops aaa set_edge_color 255"

            "Show none"
            "Show Alias add \"QuotaRossa QuotaLRossa\""
         }
      }

      Layer
      {
         Name = "Layer scritte blu"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"
         Line_rgb = "Yes"

         Show
         {
            //Comandi per poter stampare un layer di colore 16711680 (blu)
            "setviewhoops vista push_edge_color"
            "setviewhoops aaa set_edge_color 16711680"

            "Show none"
            "Show Alias add \"ScrittaBlu\""
         }
      }

      Layer
      {
         Name = "Layer quote blu"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"
         Line_rgb = "Yes"

         Show
         {
            //Comandi per poter stampare un layer di colore 16711680 (blu)
            "setviewhoops vista push_edge_color"
            "setviewhoops aaa set_edge_color 16711680"

            "Show none"
            "Show Alias add \"QuotaBlu QuotaLBlu\""
         }
      }
   }
}

//Luca 17/04/2020
Layout
{
   Name = "ComeVideoCol"
   Description = "Stampa a colori come a video"
   PageSize = "%wk_stp_layout_PageSize%"
   Form = "%wk_stp_layout_Form%"
   Landscape = "%wk_stp_layout_Landscape%"

   Image
   {
      File = "%wk_stp_image_File%"
      X = "%wk_stp_image_X%"
      Y = "%wk_stp_image_Y%"
      W = "%wk_stp_image_W%"
      H = "%wk_stp_image_H%"
   }

   Frame
   {
      Name = "Colori"
      Description = "Vista a colori"
      dW = "%wk_stp_frame_dW%"
      dH = "%wk_stp_frame_dH%"
      W  = "%wk_stp_frame_W%"
      H  = "%wk_stp_frame_H%"
      View = "%wk_stp_frame_View%"
      Render = "%wk_stp_frame_Render%"
      RenderQualityFactor = "%wk_stp_frame_RenderQualityFactor%"
      Perspective = "%wk_stp_frame_Perspective%"

      Show
      {
         "Show All"

         "Show Riferimento Off"

         "M4_Show Ambienti Hide"
         "M4_Show Quote Hide"
         "M4_Show Quote_Dinamiche Hide"
         "M4_Show Annotazioni Hide"

         // eventuali altri comandi show impostati da bdm (show o altro)
         "%wk_stp_cmd1%"
         "%wk_stp_cmd2%"
         "%wk_stp_cmd3%"
         "%wk_stp_cmd4%"

         //Salvo lo stato dei contorni
         "SetViewHoops v1 push_edge"
         //Elimino i contorni
         "SetViewHoops v1 set_edge 0"

         //Salvo lo stato le luci
         "Lights push_light"
         //Spengo le luci
         "Lights off"

         // stampa zoomata sui mobili...non sull'ambiente
         "ZOOMHOOPS"
         "ZOOMHOOPS 0.9"
      }

      Layer
      {
         Name = "HL"
         Description = "Render"
         Line_type = 0
         Line_size = 0
         Hidden_line = "Rnd_Flat"
      }

      Layer
      {
         Name = "HL"
         Description = "Linee Nascoste"
         Line_type = 0
         Line_size = 2
         Hidden_line = "Yes"

         Show
         {
            // ripristino gli ambienti
            //"M4_Show Ambienti Show"
            "%wk_stp_cmd_l1%"

            "M4_Show Quote Hide"
            "M4_Show Quote_Dinamiche Hide"
            "M4_Show Annotazioni Hide"

            //Ripristino i contorni
            "SetViewHoops v1 pop_edge"

            //Ripristino le luci
            "Lights pop_light"
         }
      }
   }
}

Layout
{
   Name = "WallPanel"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "No"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   Show
   {
      "Show None"
      "Show Riferimento Off"
      "M4_Show Ambienti Hide"
      "M4_Show Ambienti hidelenghtinfo"
      "M4_Show Ambienti hidecornerinfo"
      "M4_Show Quote Hide"
      "M4_Show Quote_Dinamiche Hide"
      "M4_Show Annotazioni Hide"

      //Salvo lo stato le luci
      "Lights push_light"
      //Spengo le luci
      "Lights off"
   }

   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%wk_FORM_dW%"
      dH = "%wk_FORM_dH%"
      W  = "%wk_FORM_W%"
      H  = "%wk_FORM_H%"
      View = "%wk_FORM_view%"
      Render = "No"

      Show
      {
         "M4_SHOW Ambienti Hide"
         "Show none"

         "Show var_num Add flag_stampa 1"

         "Show Alias add %alias_scr%"
         "Show Alias add %AliasQuota%"
         "Show Alias add %AliasQuotaLat%"

         "SetViewHoops view orbit %wk_view_roll%"

         "Show Alias delete \"NoPrint Scassi\""

      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"

         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show var_num Add flag_stampa 1"
         }
      }

      //Layer
      //{
      //   Name = "Layer tratteggio"
      //   Description = ""
      //   Line_type = 1
      //   Line_size = "%wk_SP_LINEA_MOBILI_TRATT%"
      //   Hidden_line = "Yes"
      //
      //   Show
      //   {
      //      "Show none"
      //      "Show var_num Add flag_stampa_tratt 1"
      //   }
      //}

      Layer
      {
         Name = "Layer scritte"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %alias_scr%"
         }
      }

      Layer
      {
         Name = "Layer quote"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %AliasQuota%"
            "Show Alias add %AliasQuotaLat%"
         }
      }
   }

   //Luca 07/04/2022 sembra non essere mai utilizzato
   //Frame
   //{
   //   Name = "front"
   //   Description = "Primo Frame Con muri, elementi a muro e quote"
   //   dW = "%wk_stp_front_dW%"
   //   dH = "%wk_stp_front_dH%"
   //   W  = "%wk_stp_front_W%"
   //   H  = "%wk_stp_front_H%"
   //   View = "front"
   //   Render = "No"
   //   Perspective = "No"
   //   RenderQualityFactor = 2
   //
   //   Show
   //   {
   //      "Show None"
   //
   //      "Show Var_num Add flag_stampa_front 1"
   //      "Show alias Add scr_stp_front"
   //      "Show Var_num Add flag_stampa_trt_front 1"
   //      "Show Alias Delete Linea"
   //
   //      //ruoto
   //      "setviewhoops w0 front"
   //      "%wk_stp_cmd_rot_front%"
   //
   //   }
   //
   //   Layer
   //   {
   //      Name = "L1"
   //      Description = "Solo mobili"
   //      Line_type = 0
   //      Line_size = 5
   //      Hidden_line = "Yes"
   //
   //      Show
   //      {
   //         "Show None"
   //         //attivo solo i mobili da visualizzare
   //         "Show Var_num Add flag_stampa_front 1"
   //         "Show alias Add scr_stp_front"
   //
   //         //cancello le linee 'vetro'
   //         "Show Alias Delete Linea"
   //      }
   //   }
   //
   //   //Layer
   //   //{
   //   //   Name = "L2"
   //   //   Description = "Mobili tratteggiati"
   //   //   //Line_type = 1
   //   //   Line_type = 2
   //   //   Line_size = 0
   //   //   Hidden_line = "Yes"
   //   //
   //   //   Show
   //   //   {
   //   //      "Show None"
   //   //
   //   //      "%wk_stp_cmd_rot_trat%"
   //   //      "Show Var_num Add flag_stampa_trt_front 1"
   //   //   }
   //   //}
   //}
}

// [ LAYOUT STAMPE XGLASS
Layout
{
   Name = "Stampa_XGLASS_COL"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "No"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%wk_FORM_dW%"
      dH = "%wk_FORM_dH%"
      W  = "%wk_FORM_W%"
      H  = "%wk_FORM_H%"
      View = "front"
      Render = "Yes"
      //RenderQualityFactor = 2

      Show
      {
         "M4_SHOW Ambienti Hide"

         "Show none"

         "SetViewHoops view orbit %wk_view_roll%"
         "SetViewHoops view orbit %wk_view_iso_roll%"

         "Show var_num Add flag_stampa 1"
         "Show var_num Add flag_stampa_zoom 1"

         "Show Alias add %alias_scr%"
         "Show Alias add %AliasQuota%"
         "Show Alias add %AliasQuotaLat%"

         "Show Alias add %wk_AliasLineeTratt%"

         "Show Alias delete \"NoPrint Scassi\""
      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"
         //Hidden_line = "%wk_stp_layout_hl%"
         Hidden_line = "Rnd_Flat"

         Show
         {
            //parametrizzo i muri
            "%wk_stp_cmd_1%"

            "Show none"
            "Show var_num Add flag_stampa 1"
         }
      }

      Layer
      {
         Name = "Layer scritte"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show Alias add %alias_scr%"
         }
      }

      Layer
      {
         Name = "Layer quote"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %AliasQuota%"
            //"Show Alias add %AliasQuotaLat%"
         }
      }

      Layer
      {
         Name = "Layer quote"
         Description = "Layer per le quote"
         Line_type = 1
         Line_size = 1
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %wk_AliasLineeTratt%"
         }
      }
   }
}

Layout
{
   Name = "Stampa_XGLASS_BN"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "No"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }


   //Image
   //{
   //   //File = "%wk_STP_DT_IMG%"
   //   File = "c:\tesy\Lago.Gemo\Bdm\Layout\Dettagli\LavaboKERA_400X400_V.bmp"
   //
   //   X = $wk_FORM2_dW
   //   Y = 100
   //   W = $wk_FORM2_W
   //   H = 60
   //
   //   X = 300
   //   Y = 100
   //   W = 100
   //   H = 60
   //}

   //Image
   //{
   //   //File = "%wk_STP_DT_IMG2%"
   //   File = "c:\tesy\Lago.Gemo\Bdm\Layout\Dettagli\LQ7238_SOTTOTOP.bmp"
   //
   //   X = $wk_FORM2_dW
   //   Y = 100
   //   W = $wk_FORM2_W
   //   H = 60
   //}

   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%wk_FORM_dW%"
      dH = "%wk_FORM_dH%"
      W  = "%wk_FORM_W%"
      H  = "%wk_FORM_H%"
      View = "front"
      Render = "No"
      //RenderQualityFactor = 2

      Show
      {
         "M4_SHOW Ambienti Hide"

         "Show none"

         "SetViewHoops view orbit %wk_view_roll%"
         "SetViewHoops view orbit %wk_view_iso_roll%"

         "Show var_num Add flag_stampa_zoom 1"

         "Show Alias add %alias_scr%"
         "Show Alias add %AliasQuota%"
         "Show Alias add %AliasQuotaLat%"

         "Show Alias delete \"NoPrint Scassi\""

         "Show Alias add %alias_scr%"
         "Show Alias add %wk_AliasLineeTratt%"
      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"
         Hidden_line = "Yes"

         Show
         {
            //parametrizzo i muri
            "%wk_stp_cmd_1%"

            "Show none"
            "Show var_num Add flag_stampa 1"
         }
      }

      Layer
      {
         Name = "Layer scritte"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %alias_scr%"
         }
      }

      Layer
      {
         Name = "Layer quote"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %AliasQuota%"
            "Show var_num add STP_LINE 1"
            //"Show Alias add %AliasQuotaLat%"
         }
      }

      Layer
      {
         Name = "Layer quote"
         Description = "Layer per le linee tratt"
         Line_type = 1
         Line_size = 1
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %wk_AliasLineeTratt%"
            "Show var_num add STP_LINE_TRAT 1"
            //"Show Alias add %AliasQuotaLat%"
         }
      }
   }

   Frame
   {
      Name = "Frame_2"
      Description = ""
      dW = "%wk_FORM2_dW%"
      dH = "%wk_FORM2_dH%"
      W  = "%wk_FORM2_W%"
      H  = "%wk_FORM2_H%"
      //dW = 217
      //dH = 143
      //W  = 73
      //H  = 61
      View = "front"
      Render = "Yes"
      //RenderQualityFactor = 2

      Show
      {
         "M4_SHOW Ambienti Hide"

         "Show none"

         "SetViewHoops view orbit %wk_view_roll%"
         "SetViewHoops view orbit %wk_view_mini_iso_roll%"

         "Show var_num Add flag_stampa_mini_iso 1"

         "Show Alias add %alias_scr%"
         "Show Alias add %AliasQuota%"
         "Show Alias add %AliasQuotaLat%"

         "Show Alias delete \"NoPrint Scassi\""

         "%wk_stp_cmd_1%"
         "%wk_stp_cmd_2%"
      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"
         Hidden_line = "Rnd_Flat"

         Show
         {
         }
      }
   }

   Image
   {
      File = "%wk_STP_DT_IMG%"
      //File = "c:\tesy\Lago.Gemo\Bdm\Layout\Dettagli\Teca3_Inf.bmp"
      //X = 216
      //Y = 143
      //W = 60
      //H = 60

      X = 220
      Y = 72
      W = 70
      H = 38
   }
   Image
   {
      File = "%wk_STP_DT_IMG2%"
      //File = "c:\tesy\Lago.Gemo\Bdm\Layout\Dettagli\Teca3_Inf.bmp"
      //X = 216
      //Y = 143
      //W = 60
      //H = 60

      X = 220
      Y = 105
      W = 70
      H = 38
   }
}

Layout
{
   Name = "Stampa_XGLASS_BN_TOP"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "No"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%wk_FORM_dW%"
      dH = "%wk_FORM_dH%"
      W  = "%wk_FORM_W%"
      H  = "%wk_FORM_H%"
      View = "top"
      Render = "No"
      //RenderQualityFactor = 2

      Show
      {
         "M4_SHOW Ambienti Hide"

         "Show none"

         "SetViewHoops view roll %wk_view_ang%"

         //"SetViewHoops view orbit %wk_view_roll%"
         //"SetViewHoops view orbit %wk_view_iso_roll%"

         "Show var_num Add flag_stampa_zoom 1"

         "Show Alias add %alias_scr%"
         "Show Alias add %AliasQuota%"
         "Show Alias add %AliasQuotaLat%"

         "Show Alias delete \"NoPrint Scassi\""

         "Show Alias add %alias_scr%"
         "Show Alias add %wk_AliasLineeTratt%"
      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"
         Hidden_line = "Yes"

         Show
         {
            //parametrizzo i muri
            "%wk_stp_cmd_1%"

            "Show none"
            "Show var_num Add flag_stampa 1"
         }
      }

      Layer
      {
         Name = "Layer scritte"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %alias_scr%"
         }
      }

      Layer
      {
         Name = "Layer quote"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %AliasQuota%"
            //"Show Alias add %AliasQuotaLat%"
         }
      }

      //Layer
      //{
      //   Name = "Layer quote"
      //   Description = "Layer per le linee tratt"
      //   Line_type = 1
      //   Line_size = 1
      //   Hidden_line = "Yes"
      //
      //   Show
      //   {
      //      "Show none"
      //      "Show Alias add %wk_AliasLineeTratt%"
      //      //"Show Alias add %AliasQuotaLat%"
      //   }
      //}
   }
}

Layout
{
   Name = "VISTA_TOP_WIREFRAME"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "Yes"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   //dettaglio
   Image
   {
      File = "%wk_STP_DT_IMG%"

      X = 217
      Y = 144
      W = 70
      H = 57.5
   }

   Image
   {
      File = "%wk_STP_DT_IMG2%"

      X = 217
      Y = 86.5
      W = 70
      H = 57.5
   }

   //frame vista top
   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%wk_FORM_dW%"
      dH = "%wk_FORM_dH%"
      W  = "%wk_FORM_W%"
      H  = "%wk_FORM_H%"
      View = "top"
      Render = "No"
      //Perspective = "No"

      Show
      {
         "M4_SHOW Ambienti Hide"
         "Show none"

         "SetViewHoops view roll %wk_view_ang%"

         "SetViewHoops view orbit %wk_view_orbit%"

         "Show var_num Add flag_stampa 1"
         "Show var_num Add flag_stampa_tratt 1"

         "Show Alias add %alias_scr%"
         "Show Alias add %AliasQuota%"
         "Show Alias add %AliasQuotaLat%"

         "Show Alias delete \"NoPrint Scassi\""
      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show var_num Add flag_stampa 1"
            "Show var_num delete flag_stampa -1"

            "Show var_num delete NoPrint_StpTop 1"
         }
      }

      Layer
      {
         Name = "Layer tratteggio"
         Description = ""
         Line_type = 1
         Line_size = "%wk_SP_LINEA_MOBILI_TRATT%"
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show var_num Add flag_stampa_tratt 1"
         }
      }

      Layer
      {
         Name = "Layer scritte"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %alias_scr%"
         }
      }

      Layer
      {
         Name = "Layer quote"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %AliasQuota%"
            "Show Alias add %AliasQuotaLat%"
         }
      }
   }
}

Layout
{
   Name = "Stampa2V"
   Description = ""
   PageSize = "A4"
   Form        = "%path_layout%\%wk_Form%"
   Landscape = "Yes"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   Image
   {
      File = "%wk_Img1%"
      X = 1
      Y = 40
      W = 156
      H = 166
   }

   Image
   {
      File = "%wk_Img2%"
      X = 144
      Y = 40
      W = 156
      H = 166
   }
}

Layout
{
   Name = "StampaXG_Fissa"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "Yes"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   Image
   {
      File = "%wk_Img1%"
      X = 1
      Y = 40
      W = 156
      H = 166
   }
}


Layout
{
   Name = "Testiere"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%%wk_nome_form%"
   Landscape = "No"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   Image
   {
      File = "%wk_STP_DT_IMG%"

      X = "%wk_STP_DT_IMG_X%"
      Y = "%wk_STP_DT_IMG_Y%"
      W = "%wk_STP_DT_IMG_W%"
      H = "%wk_STP_DT_IMG_H%"
   }

   Image
   {
      File = "%wk_STP_DT_IMG2%"

      X = 217
      Y = 86.5
      W = 70
      H = 57.5
   }


   Frame
   {
      Name = "Frame_1"
      Description = ""
      dW = "%wk_FORM_dW%"
      dH = "%wk_FORM_dH%"
      W  = "%wk_FORM_W%"
      H  = "%wk_FORM_H%"
      View = "front"
      Render = "No"
      //Perspective = "No"

      Show
      {
         "M4_SHOW Ambienti Hide"
         "Show none"

         "SetViewHoops view orbit %wk_view_roll%"

         "Show var_num Add flag_stampa 1"
         //"Show var_num Add flag_stampa_tratt 1"

         "Show Alias add %alias_scr%"
         "Show Alias add %AliasQuota%"
         "Show Alias add %AliasQuotaLat%"

         "Show Alias delete \"NoPrint Scassi\""
      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"
         Hidden_line = "Yes"

         Show
         {
            "M4_SHOW Ambienti Hide"
            "Show none"
            "Show var_num Add flag_stampa 1"

            "Show var_num delete flag_stampa -1"
            "Show var_num delete flag_stampa_tratt 1"
         }
      }

      Layer
      {
         Name = "Layer"
         Description = ""
         Line_type = 0
         Line_size = "%wk_SP_LINEA_MOBILI%"
         Hidden_line = "No"

         Show
         {
            "M4_SHOW Ambienti Hide"
            "Show none"

            "Show var_num Add flag_stampa_lav 1"
         }
      }

      Layer
      {
         Name = "Layer tratteggio"
         Description = ""
         Line_type = 1
         Line_size = 1
         Hidden_line = "Yes"

         Show
         {
            "Show none"
            "Show var_num Add flag_stampa_tratt 1"
         }
      }

      Layer
      {
         Name = "Layer scritte"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %alias_scr%"
         }
      }

      Layer
      {
         Name = "Layer quote"
         Description = "Layer per le quote"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_QUOTE%"
         Hidden_line = "No"

         Show
         {
            "Show none"
            "Show Alias add %AliasQuota%"
            "Show Alias add %AliasQuotaLat%"

            "Show Alias delete NoPrintQuotaLat"
         }
      }
   }
}

Layout
{
   Name = "ALLEGATI_AUTO"
   Description = ""
   PageSize  = "A4"
   Form      = "%path_layout%%wk_nome_form%"
   Landscape = "Yes"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = "%TSTP_FORM_LOGO_dW%"
      Y = "%TSTP_FORM_LOGO_dH%"
      W = "%TSTP_FORM_LOGO_W%"
      H = "%TSTP_FORM_LOGO_H%"
   }

   Image
   {
      File = "%wk_image%"
      X = 8
      Y = 41
      W = 280
      H = 160
   }
}

Layout
{
   Name = "DivanoNow"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%/DivanoNow.emf"
   Landscape = "Yes"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = 5
      Y = 6
      W = 27
      H = 8
   }

   Frame
   {
      Name = "Main"
      Description = ""

      dW = 5
      dH = 50
      W  = 225
      H  = 150

      View = "top"
      Render = "No"
      Perspective = "No"

      Show
      {
         "M4_Show Ambienti Hide"
         "M4_Show Ambienti Hidelenghtinfo"
         "M4_Show Ambienti Hidecornerinfo"

         "Show Riferimento Off"
         "Show None"

         "Show Var_num Add flag_stampa 1"
         "Show Var_num Add flag_stampa_tratt 1"

         "ZoomHoops"
         "ZoomHoops 0.9"
      }

      Layer
      {
         Name = "1"
         Description = "Modulo principale"
         Line_type = 0
         Line_size = 25
         Hidden_line = "Rnd_Gouraud"

         Show
         {
            "Show None"
            "Show Alias Add %alias_scr%"
            "Show Var_num Add flag_stampa 1"
         }
      }

      Layer
      {
         Name = "2"
         Description = "Moduli vicini"
         Line_type = 1
         Line_size = 1
         Hidden_line = "Yes"

         Show
         {
            "Show None"
            "Show Var_num Add flag_stampa_tratt 1"
         }
      }

      Layer
      {
         Name = "3"
         Description = "Scritte"
         Line_type = 0
         Line_size = 25
         Hidden_line = "Yes"

         Show
         {
            "Show None"
            "Show Alias Add %alias_scr%"
         }
      }
   }
}

Layout
{
   Name = "NowLiv"
   Description = ""
   PageSize = "A4"
   Form = "%path_layout%/DivanoNow.emf"
   Landscape = "Yes"

   Image
   {
      File = "%TSTP_FORM_LOGO_PATH%%TSTP_FORM_LOGO%"
      X = 5
      Y = 6
      W = 27
      H = 8
   }

   Frame
   {
      Name = "Main"
      Description = ""

      dW = 5
      dH = 50
      W  = 225
      H  = 150

      View = "front"
      Render = "No"
      Perspective = "No"

      Show
      {
         "M4_Show Ambienti Hide"
         "M4_Show Ambienti Hidelenghtinfo"
         "M4_Show Ambienti Hidecornerinfo"

         "SetViewHoops view orbit -%wk_strAng% 0"

         "Show None"
         "Show Riferimento Off"

         "Show Var_num Add flag_stampa 1"
      }

      Layer
      {
         Name = "1"
         Description = "Modulo"
         Line_type = 0
         Line_size = 25
         Hidden_line = "Rnd_Gouraud"

         Show
         {
            "Show None"
            "Show Alias Add %alias_scr%"
            "Show Var_num Add flag_stampa 1"
         }
      }

      Layer
      {
         Name = "3"
         Description = "Scritte"
         Line_type = 0
         Line_size = 25
         Hidden_line = "Yes"

         Show
         {
            "Show None"
            "Show Alias Add %alias_scr%"
         }
      }
   }
}
