1 Reply Latest reply on Oct 2, 2016 7:16 AM by o-marat

    Illustrator error occurred: 1346458189 ('PARM')

    Roopa ani Level 1

      While Resizing in Illustrator , below error occurs

       

      Illustrator error occurred: 1346458189 ('PARM')

       

      below is the Code i have used in .Net

       

                     

                                  Appillus.ExecuteMenuCommand("selectall");

                                  Appillus.ExecuteMenuCommand("group");

                                  System.Threading.Thread.Sleep(1000);

                                  Docillus.GroupItems[1].Resize(percentageX, percentageY, true, true, true, true, percentageX, Type.Missing);

                                  Appillus.ExecuteMenuCommand("outline");

                                  Appillus.ExecuteMenuCommand("ungroup");

                                  Appillus.ExecuteMenuCommand("deselectall");

        • 1. Re: Illustrator error occurred: 1346458189 ('PARM')
          o-marat Level 3

          Roopa ani, hello!

          If you rewrite your code in the ExtendScript, it works fine:

          //@target illustrator
          var percentageX = 50;
          var percentageY = 50;
          
          executeMenuCommand("selectall");
          executeMenuCommand("group");
          $.sleep(1000);
          activeDocument.groupItems[0].resize(percentageX, percentageY, true, true, true, true, percentageX, Transformation.CENTER);
          executeMenuCommand("outline");
          executeMenuCommand("ungroup");
          executeMenuCommand("deselectall");
          

           

          I doubt Type.Missing option in the 4th line of your example.

           

          Tested on Win10x64ProRus Illustrator CC-2015.3 Eng

           

          PS. What is the `Appillus`,` Docillus`? This Latin? And why .Net?