Illustrator error occurred: 1346458189 ('PARM')


while resizing in illustrator , below error occurs

 

illustrator error occurred: 1346458189 ('parm')

 

below code 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");

roopa ani, hello!

if rewrite code in extendscript, 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 4th line of example.

 

tested on win10x64prorus illustrator cc-2015.3 eng

 

ps. `appillus`,` docillus`? latin? , why .net?



More discussions in Illustrator Scripting


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop