Jump to content
Developer Wiki and Function Reference Links ×

2010 Pios Don't work in 2012 Because of character length


Recommended Posts

: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

Link to comment

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

Link to comment
  • Vectorworks, Inc Employee

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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...