Jump to content

Marc Davies

  • Posts

  • Joined

  • Last visited


14 Good

Personal Information

  • Occupation
  • Homepage
  • Location
    United Kingdom

Recent Profile Visitors

1,455 profile views
  1. As Pat alluded previously, one can attach data to Symbols using an external data source i.e. a CSV file, where a code for each object can lookup the external data for other fields. This works for both Symbol INSTANCES and for DEFINITIONS. For INSTANCES multiple symbols can be found in the drawing in one hit, whereas for DEFINITIONS it is a one-to-one connection to build the first link. After that however, any changes in the external data are reflected on both Instances and Definitions within a file. This is achieved by either ODBC connection e.g via FileMaker Pro or via SQLite connection, the latter of which does not require ODBC and is consequently more stable especially on a Mac at the moment. SQLite is built in to every Mac and free front-end software is available to load up the CSV file such as "DB Browser for SQLite". The linking look-up code needs to be unique and set to be a Primary Key in DB Browser.
  2. I'm using the Data Manager to manage Class-based Objects, concatenating text from multiple fields into a new field for symbols and groups (e.g. of furniture) in a drawing. Basically using a room name and object name concatenated into a new field. It works fine for adding data into already Classed objects, but as soon as the Class is changed, all the data in the object fields is wiped out!!! So if I add data to objects which are created in the wrong Class (i.e. imported files) I need to change Classes before applying the Data Manager Class-based calculations. I cannot change classes for those items without losing the data. It appears that the data is linked not only to the object but also the Class once the Data Manager is employed. Can this be changed so that the data remains in the record independent of the Class? Is this a bug or a feature I'm not sure how to benefit from?
  3. Data Visualisation is great and works really well with small data sets and also for large (imported) data sets mapped to specific line and fill attributes. However, the attribute mapping drops out each time a new data set is imported or a new record applied to objects. It would be really useful if attributes could be mapped to data and saved as a data/attribute matching set to be applied even if the data is input from a different internal record or a different external (e.g. SQLite) database. That way a set of 20 or so highly specific fill/line/colour/hatch/pattern attributes would not need to be remapped in each file where they occur, but simply reimported into each Vectorworks drawing file. [Template files or user dataVis sets will not currently hold onto the attributes if the data source is different or even if the record set is accidentally deselected (beware!)] This is my wish.🙂
  4. I know one can duplicate a DataVis, but how does one use the same attributes for a different data set? I have a series of carefully crafted attributes including line styles, fills, hatches etc against a number of fixed values (I typed the values manually as I need to use them for a template file). I want to use the same attributes when I attach looked up (SQLite) data to objects with matching values. This will format all my drawn objects correctly agains the external data. However, when I select a different Record set, I lose all the applied attributes which took many hours to set up in the first place. Is there any way to retain/copy the attributes for a different record set? The only way I can think of at the moment is to Data Map the records from an imported set into my template set, which is "faffy". [technical verb: "to faff"].
  5. [Another in my series of ODBC queries] I am using both Object Database connections with SQLite plus highlighting imported data with the excellent DataVisualisation. SQLite data connection works fine, but the DataVis doesn't update when object connections are amended. One way to force an update is to save and reopen the file, which is less than ideal. Is there another option to recalculate the DataVis e.g a button (similar to "Recalculate" in worksheets) which would be available to other users i.e. more built-in than a script (but a script might help in the short term).
  6. Is it only broken for me or is anyone successfully using ODBC connection from Vectorworks 2022 or 2022 to collect external data on a Mac? SQLite queries (non ODBC) work fine but I really need to link up to FileMaker Pro for wider database functions. Vwks has been crashing after 5 mins or so every time for the last three versions 2022, back through 2019.
  7. Thanks Silvano. I have a few hundred space objects to work through i.e. each room so I need to check if I can change them in one go as individually is not an option (for the time available to me).
  8. I'm not certain how many users are regular creators of adjacency diagrams, but I'm looking to create a multi-building, multi-floor bubble diagram listing University Faculty spaces as CIRCULAR area bubbles, and not as the area squares as VWks Spaces are drawn by default. Is there a simple checkbox for this [please] or will it require scripting/marionetting?
  9. SP4 notes say ODBC connection is fixed (as did SP3), but Vectorworks is still crashing within 5 minutes of updating the drawing with data drawn from an external FileMaker database. This long-standing issue (nearly two years since successful connection) is preventing good BIM data connections for Vectorworks, a real shame.
  10. Another thought which has given me problems in the past, which you may already know, but anything is worth a try... Make sure your primary key field definitely has only unique values as it trips up everything if there are two records with the same key value.
  11. ODBC is really difficult to useconsistently at the moment. Can you export to SQLite instead? This seems to work best on a Mac as it avoids ODBC connectors, however, I don't know about a PC I'm afraid.
  12. Your response is exactly why I love this forum. Really helpful and a complete solution. Many thanks Michael. I will try out in earnest tomorrow. I can use the UUID number to create a match key to an SQLite Database row to fetch additional data back into Vectorworks and populate additional record fields. I have 100 fields to populate for each symbol and over 8000 symbol instances so this is really the only option. Cheers, Marc
  13. I have seen previous posts for scripting the UUID into a record so that it can be viewed in a worksheet, but not examples of the actual scripts. Does anyone have such available to share? The issue I have relates to tagging individual furniture symbols with a unique code for linking to external SQLite database for extracting finishes specifications via ODBC - materials and colours need to be applied to similar symbols but may vary for individual objects (8000 of them in current project). I know UUID's exist for all items, but I have no quick means of identifying these in records (and worksheets). I also know how to use the Data Manager to pipe the codes through to my own record, just not how to access them in the first instance. The GetObjectUUID(h) function may work in a script but not in a worksheet as far as I can tell and I don't know how to script it.
  14. Follow up. It appears there is a geometry redraw bug around this otherwise very useful function along the following lines: IF (DataVis is turned ON in the DataVis coloured menu box) AND (matching “ImageByDataVis” function is in cell header) THEN geometry recalculates (Green redraw bar) and update the worksheet colours - which it does after a short while. However, IF(DataVis is turned OFF in the DataVis coloured menu box) AND (“ImageByDataVis” function is called in cell header) THEN it gets in a geometry redraw loop as it cannot refer to the deselected DataVis. Net result : constant redraw loop and non-functioning Vectorworks 2021.
  15. Hi, we are having problems with constant geometry refresh issues when using this function. It seems to work to begin with but the refresh update loops take longer and longer until the file is unusable. I wonder if we applying the function incorrectly? =ImageByDataVisualization(criteria,datavis name) I am confused by the "Criteria" requirement which is surely inherent in the dataVis set up? So I have been simply using the datavis name without any criteria. It seems to return the correct matching colours but is this throwing a curve to the calculations by not using criteria?
  • Create New...