Tong2014 Posted March 1, 2014 Share Posted March 1, 2014 Newbee question: Is there any way to store data in global memory from within a python script such that it is accessible by other independent python scripts? Quote Link to comment
Miguel Barrera Posted March 5, 2014 Share Posted March 5, 2014 Look at this function: PROCEDURE Rpstr_SetValueStr(name: STRING; value:DYNARRAY[] OF CHAR); This will set values to "named" variables that are basically global to vectorworks even between different sessions. This one is for a string but there are set & get functions for each basic type. Quote Link to comment
JBenghiat Posted March 6, 2014 Share Posted March 6, 2014 Here are all the Rpstr calls: http://developer.vectorworks.net/index.php/Category:VS_Function_Reference:Utility You can also use Set/GetSetting to store values between sessions. Both sets of calls work in Python and VS. -Josh 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.