Jump to content


Vectorworks, Inc Employee
  • Posts

  • Joined

  • Last visited

Everything posted by Vlado

  1. Hey @Mark Aceto the URL at which you can access the data is: https://cache.gis.lacounty.gov/ I used chrome dev tools to see where they make request to at this site. It would depend on what you need, when you choose a service from there. I tried the 'Census_2020/CensusBlocks_City' and it showed something. You can browse the services, and view them in a browser by appending to this url, so it looks like this: https://cache.gis.lacounty.gov/cache/rest/services Then you can browser around and see what you need. You can use the JavaViewer for quick look at the services. What you see there, would be available in Vectorworks too.
  2. That is a special index to an internal list created with the build function, and only accessible with the appropriate functions. @Lada can you help with this question?
  3. I'm not sure exactly, but you should be able to send 'system' commands, and run scripts using the system. I'm still not fully researched this, but it was related to the SSL:CERTIFICATE_VERIFY_FAILED error. Essentially, you need to install a symlink to the system's certificates into the SLL of the Python you are using (Vectorworks') I don't know exactly yet, but I have this URL saved for further investigation: https://stackoverflow.com/questions/35569042/ssl-certificate-verify-failed-with-python3 and this code snippet: import os import certifi import ssl openssl_dir, openssl_cafile = os.path.split(ssl.get_default_verify_paths().openssl_cafile) os.chdir(openssl_dir) relpath_to_certifi_cafile = os.path.relpath(certifi.where()) print("delete: "+openssl_cafile) print("sym link") print(" src="+relpath_to_certifi_cafile) print(" dst="+openssl_cafile) and this code for testing, where it was failing due to the error mentioned above: import urllib.request requestURL = urllib.request.Request( "https://www.vectorworks.net/cached/themes/vectorworks_redesign_2018/assets/images/logos/vw-logo-full.svg", headers={'User-Agent' : "Magic Browser"} ) response = urllib.request.urlopen( requestURL )
  4. Hi @JoeBayLD, Unfortunately, Vectorworks 2020 python cannot be updated as it is a major change with lot of risk. is this a SSL:CERTIFICATE_VERIFY_FAILED ? if so, then there is a way to create shortcuts in the python of vectorworks to add access to certificates.
  5. Hi @Carol - Design Express This is next on our lists to do. Regards, Vlado
  6. @MSLD Well, we always see to convert over when we change things. So please, don't hesitate to use it at its full capabilities. You can get really nice results. As for help, click F1 on the Define Tag Field dialog, it leads here: https://app-help.vectorworks.net/2021/eng/index.htm#t=VW2021_Guide%2FAnnotation%2FCreating_data_tag_styles.htm%23CSH_41 The collapsed parameters on #8 is talking about the field definition syntax.
  7. @MSLD the formula you should use for this is: "Too Large"@#AREA#>100sq m:"Too small" As @TDimov said, the data tag condition expression is: <Value_If_True>@<The_Condition>:<Value_If_False> Note, you have to be careful with the spaces around the condition, it does not expect any spaces. It is known problem that the Data Tag uses its own syntax for the formulas. It's at the top of our list to make it use Worksheet formulas in the future.
  8. FYI, the. Vectorworks plugins are not signed. The problem is that when you download a zip on the new Mac OS, it automatically get quarantined, so nothing you unzip from it would work, unless you de-quarantene the zip itself on your side before unzipping. Of course, waiting for SP2 would work, and it will be (is already) fixed there.
  9. Yeah, you have to de-quarantine the zip file, before unzipping. Use the terminal to do that: xattr -d com.apple.quarantine /Users/vstanev/Downloads/LandscapeIrrigation.vwlibrary.zip xattr -d com.apple.quarantine /Users/vstanev/Downloads/LandscapeIrrigation.vwlibrary.zip Change the path to the zip as you have it on disk. Also, pease make a duplicate of the original file before overriding. I'm not sure what do you mean in 'no hope in switching'? Can you clarify? It is OS independent bug, and i'm trying to help you by sending the file directly as I was under the impression you are on the mac.
  10. @Luciole Design we found it and it's a bug. It will be fixed for SP2. if there is anyone else struggling with this, please let me know.
  11. Hi @Luciole Design, is it possible to send me the crash log? That's the text when you click on the 'report' button after you get the crash. You can just dump paste it in a text file and send it over: vstanev@vectorworks.net Thank you.
  12. Hi @jeff prince, Please report each case where you see crashes and/or problem, we're actively trying to make the software more stable and reports like this are valuable. I'm sorry to hear that, and I understand your pain. I can assure that we're striving to improve the software, and you can imagine there are many ways it can be improved. There are many people with many wishes about many areas of Vectorworks, and they are all important. We are doing our best to log and generalize the wishes and then to prioritize them all in order for the engineering to focus on. So, please don't give up. We do appreciate user input, especially if it a well thought out and described workflow that needs to be added or improved. This helps us understand, prioritize, and eventually implement it. Regards, Vlado
  13. Hi @jeff prince, Thank you for your comments. This feature is dedicated to access various data from ESRI, not just maps, but for that you need to login into their Services. Depending on the region, they might have more detailed satelite images. Can you please elaborate on this? We're looking for ways to improve this. You can send me workflow videos or screen capture directly at vstanev@vectorworks.net Regards, Vlado
  14. Hi @Ben Beaumont, can you define the request? What file format is this? I guess it contains geographical information, and the goal is to place it properly, right?
  15. Yes, Vectorworks 2021 uses Python version: 3.8.2
  16. Hi @Aspect_Design, unfortunately, this is not possible at the moment. Please enter it as a Jira bug so we can make it work. The Properly Line has the 'Segment Record' format record attached to object inside, which allows you to report the segments in a worksheet. Also, there is a 'Curved Segment Record' one too. Regards, Vlado
  17. @P Retondoi'll add this information to an enhancement request, so it is considered for the future improvements in the area. Thank you very much, examples and workflow definitions always help
  18. Hi @samgbickel, there is an option to disable the automated calculations, but unfortunately there is no UI for it. To disable it, find the file 'IrrigationSettings.xml' located in "<app>\Libraries\Defaults\Irrigation". You can edit it there, or better copy it in your user folder, in the same location: '<user_folder>\Libraries\Defaults\Irrigation' and edit it there. The difference is that if the change is in the user folder, any SP that you install will have this option, otherwise it would be just for the version you modify. In that XML file, find the tag <AutoCalculation> and change it to 'false'. This will disable the automated calculations. Regards, Vlado
  19. This is a different thing and it is intended that way. GetRField really returns a string, so it more picky of the precision. However, it is specifically implemented to preserve the precision of dimensions and control points. This is the same for both script languages.
  20. @David Bengali oh wow, you have found a bug. I never realized this was there, yes the doubles are truncated when going from vectorworks to the python, and it is python specific. Unfortunately, we just released SP4, so it will be fixed in the next SP and the next version. Until then, you can use vs.GetRField to access the parameter values with full precision. it's a string you get back, but it has full precision number. I'm sorry for the bug, it's a sneaky thing. Thank you for reporting it!
  21. Hi @P Retondo This is a known issue, and there are wishes to update this tool. We have it high on our lists to update and improve the workflows with. Regards, Vlado
  22. If it works in general but not for a specific database, maybe there is a specific things about the SQL language of that database, like comma or quotations. We have a configuration file that can set these things up, as from Vectorworks perspective they are all the same, we just sent requests. What's the database you are using? I've managed to this during my tests with another DB. I am using VW 2020 SP2.2R1 in german. It looks you've found a place where the buttons should have been disabled but they are not. Symbols are not accounted for when exchanging data. Which one would you recommend? It's either say, all these use the same API.
  23. Hi @Bogdan Ciocan How do you do this? You surely have objects in the drawing for this? The fundamental concept is that you connect a database to your VWX drawing. Then you define the format to be connected to a table, and establish which format field connects to which database table column. Note, there is no data flow at this point, only connections that tells it how the data will flow, and where the data will be stored in both places: <vectorworks' format field> to/from <db table column> Now, when you have a record of this format, which is the actual instance of a record, and can only be attached on objects in the drawing, then you have data, which is stored in a row of the data connected to this format. fields, i.e. db table columns, define how the data from that row will be exchanged with the record. So, now, if you edit a symbol definition, having nothing selected means that you are editing the defaults values that will be attached when this symbol is placed in the drawing. Noice that the 'Object Database Connection' is disabled in the context of symbol edit. Now, if you insert this symbol into the drawing, the record is attached to that symbol, and you can use the Data pane button, or menu Tools -> Database -> Object Connection to associate a row of the db table to this record. Note you can do that on a single selection or multiple selection in Vectorworks. The single selection will be like either add or select a row to provide the data for this symbol instance, where multiple will give you a chance to add or find rows depending on cirterias. As far as I understand, you are trying to build up a library with prebuild values from symbol defintions connected directly to db. This can be possible with scripting (either python, vectorscript or marionette). But there is one main question: if you add multiple instances of this symbol definition, you'll have repeating data...essentially the key will be duplicated, so several objects will contribute to a single row in the db table. Maybe your data works that way?
  24. Hi @Bogdan Ciocan, Well, technically, the symbol definitions are pre-set graphics that are ready to be placed in the drawing. They do not store any information, well they hold default values, but not countable information. Then they cannot be connected to the DB as it holds actual data. So, maybe your question is how to connect the default values of the symbol data to a database? But that would be strange as when you insert the symbol in the drawing, you can have several copies of the same data. Is that required? What is the workflow you want to implement? At the moment, a DB table for vectorworks is a Format and Record at the same time. Format represents the table and it's columns (the definition), and a record is a single row. This way, when you have several records of a format, you are dealing with several rows of that table. Following my thought from above, if you have a record attached in the drawing, you can associate it to a single row from it's DB table. So, if you symbol instance has a record attached to it, you can associate it with a DB table row and get/put the data there. This works via the 'key' columns (one or several) identified when connecting to the database. They are used in the 'WHERE' of the SQL to identify a single row. this is the so-called primary-key and secondary-key of a table, and unique so they can identify a row uniquely. This means that your format needs to connect to these columns, so when you connect a record, it has a place to store the 'keys' to uniquely identify that particular row in the DB table always. Yes, selecting multiple objects and trying to connect them with the menu command, will allow you to use logic to associate the multiple objects to multiple rows in the DB table using pre-existing values in the keys. You can also use the Data Manager to exchange data between records and parametric objects. Regards, Vlado
  25. @David Bengali > clarify further on the process and its relationship to .pyc files, and how to ensure that the source code truly cannot be accessed in some way. The python would compile the .py files into .pyc files before execution. This is part of python and always happens, it always executes the pyc files, and it has some smarts to not compile if the py didn't change. The pyc files are binary files that are byte-code of the python code. I guess you can read more about them in the python documentation. As far as I know, it can be uncompiled but it doesn't restore variable names, comments, etc. The process of encrypting a python plugin in Vectorworks consist of bundling all .pyc files into the vsm, vso, or vst files. It essentially, copies the binary files as is, one after the other in the vso, vsm, and vst file. This adds a little protection too as it's becomes one big binary now. Even though, if you really wanted, and analysed the bytes, you can figure it out. let me know if you have more questions. Regards, Vlado
  • Create New...