white_sheep Posted April 5, 2006 Share Posted April 5, 2006 hello all, I have some scripts where i need some settings (textstyle, size, ...) saved in a txt-file. So i need to open and read the text-file with every call of a script. Now my question: Is it possible to read the settings once and put them in the memory, where I have access from every script during the VectorWorks-session? thx and greets from switzerland [ 04-05-2006, 09:52 AM: Message edited by: white_sheep ] Quote Link to comment
matto Posted April 5, 2006 Share Posted April 5, 2006 The simplist option would be to use an invisable record attached to an object in the drawing somewhere. The other option is to make a symbol or group that you can put just out of the way of the drawing as the reference to the user of what each settings style does and attach the record to the named object that discribes the style. Either way your other scripts can then search for the named object, then get the info out of the attached record. Quote Link to comment
white_sheep Posted April 6, 2006 Author Share Posted April 6, 2006 thats a lot easier than i thought. maybe this can work ;-) thanx a lot Quote Link to comment
Miguel Barrera Posted April 7, 2006 Share Posted April 7, 2006 If the scripts can be made into menu plug-ins then you can add parameters to retrieve and save data 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.