David Clinton Posted January 31, 2012 Share Posted January 31, 2012 :confused: I have written some very long Pio scripts (50,000 char+) which have worked very well with 2010. I recently upgraded to 2012 and attempted to run these scripts. I get a message that the script has to many characters and that I should use {$ Includes} files. Question: Is there some way to enlarge the PIo script memory allocation to acomodate these long scripts? Dave Clinton Mac OS 10.6.8/ Mac Lion Mac book Pro 8 GB Ram User since 1985 Quote Link to comment
David Clinton Posted January 31, 2012 Author Share Posted January 31, 2012 I have written some very long Pio scripts (50,000 char+) which have worked very well with 2010. I recently upgraded to 2012 and attempted to run these scripts. I get a message that the script has to many characters and that I should use {$ Includes} files. Question: Is there some way to enlarge the PIo script memory allocation to acomodate these long scripts? Dave Clinton Mac OS 10.6.8/ Mac Lion Mac book Pro 8 GB Ram User since 1985 greatdavidc@mac.com Quote Link to comment
Vectorworks, Inc Employee klinzey Posted January 31, 2012 Vectorworks, Inc Employee Share Posted January 31, 2012 There is no way to increase the size limit. The size limit is about 32K (at one time you could do 64K on windows but I don't know it that is possible any longer.) The limitation is the Vectorscript text editor and not the PIO itself. The best thing to do is to use Include files. Inside the PIO you just have a single line {$Include FileName.px} Copy your existing code into FileName.px and place it in the plug-ins folder. You can now edit the file with any text editor and if you encrypt the script you only need to the encrypted pio. Include files make development a lot easier. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.