Jump to content

Russell Bird

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Russell Bird

  • Rank

Personal Information

  • Location
    United Kingdom
  1. Hi, I'm hoping to use an external tab delimited TXT to store a master price list for use with our CAD drawings. The file contains over 12,000 item codes which means I can't load it into a worksheet in VectorWorks as the row limit on those is 4094. I've proven I can open and read a line from the file, but then I wanted to test how quickly VectorWorks could scan through the rows, so I simply put in a while loop in with an incremental counter variable. At the file of the while loop (based on EOF), the loop should exit and give me the number of lines read (loops done in effect) by displaying the counter variable in a dialog (using AlrtDialog). I set this running and waited (a long time), but the dialog didn't get displayed and interface was locked out so I assume the script was still running. 2 possiblities: 1) the loop has a fault causing it to loop indefinitely or 2) VectorWorks is really slow at reading lines from a file. I don't it's option 1 as I've checked the loop code and am pretty sure it's fine. I wondered if anyone could tell me if there are limits to the number of lines or file size that can be read with VectorScript and/or is VectorScript just really slow (in which case pretty useless) at reading files? Thanks Russell


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

  • Create New...