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 = "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 = "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
   }

   //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 = 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 = "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"
         }
      }

      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 = "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 = "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 = "Yes"

         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 = "Yes"

         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 = "Yes"
         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 = "Yes"
         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 = "Yes"

         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 = "Yes"

         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 = "Yes"
         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 = "Yes"
         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 = "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%"
         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"
         }
      }

      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 nere"
         Description = "Layer per le scritte"
         Line_type = 0
         Line_size = "%wk_SP_LINEA_SCRITTE%"
         Hidden_line = "Yes"

         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 = "Yes"

         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 = "Yes"
         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 = "Yes"
         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\""
         }
      }
   }
}

//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"
            "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 = "back"
      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 = "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%"
         }
      }
   }


   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"
      //   }
      //}
   }
}

