Jump to content

Wizard12

Member
  • Content Count

    6
  • Joined

  • Last visited

Everything posted by Wizard12

  1. Thanks Pat, I was just researching how to pass my Vectorscript variables into the python code. I will take a look, thanks for the heads up on it having to be a DynArray!
  2. Thanks Pat, that works great. One question, is there a way to make the file path contain variables? I get an error when I try. here is my method for finding the filepath to insure it exist before populating the dialog: fileName:=Concat('C:\Users\Eric\AppData\Roaming\Nemetschek\Vectorworks\2014\Stud Patterns\',FileCode,Ext,'.txt'); GetFileInfo(fileName, fullReadPath, fullWritePath, readFileExists, writeFileExists, locked, hasReadPermission, hasWritePermission, hasFolderPermission);
  3. I was wondering if there is a way to delete a text file (.txt) using a script. I have various hole pattern files saved per a height code and a number saved to multiple text files (93AA-1.txt) which are being read to populate a dialog list browser and using the Read procedure. 93AA-1.txt has 20 parameters to populate line 1 of the list, 93AA-2.txt populates line 2 and so on for a limit of 9. If the user wants to delete one of the patterns, I was hoping to delete the file to show the correct pattern list. I tried to do all of the patterns in a single text file (ReadLn) but was unsuccessful in getting the pointer to read the correct line. Any thoughts or help would be appreciated. Thanks.
  4. Thanks everyone. I will test these examples. You guys are great!
  5. Thanks everyone. I will test these examples. You guys are great!
  6. Hi, I was wondering if anyone has come across a script that will Build a Resource List of the Symbol types in a document. I have tried to find examples to understand how to setup an array but have not been successful. I need this list do a comparison WHILE a symbol is being generated to see if the name already exists, once it does exist it will place the existing symbol instead of executing a creation procedure. Any scripting help would be appreciated. TIA, Eric

 

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...