Jump to content

Vladislav Stanev

Vectorworks, Inc Employee
  • Content Count

  • Joined

  • Last visited

Everything posted by Vladislav Stanev

  1. @ericjhberg message received. these are the things at the top of our list.
  2. You can log in to ESRI inside Vectorworks' new feature. Essentially, when you browse for service, you can log in to browse the ESRI's full catalog of services. From those available services, we can only communicate the Image Layer services (raster image). The others are Feature Layer services, the shape file equivalents, which we will support in the future.
  3. Well, the main part is selecting appropriate coordinate system for where the project is located. Then locate your drawing and everything you draw will be properly georeferenced. Not with the default maps. We only have satelite and map image services if you haven't logged it. If you log in, you can search for data in the area of the project. But for now we only support raster images. You can ask or look up the servers for your county. They often use ESRI, and you can type in the server address in the Vectorworks feature, and Vectorworks will request imagery from there. This also works with WMS servers.
  4. That's correct. Also, higher resolution images, elevation information, and other analytic information (raster images only at the moment in Vectorworks though)
  5. My philosophical view on this is that GIS is still as complicated, especially the coordinate system component of it. However, with the new feature, you can see if you are correct at all times as you can always use the Geolocate tool, and see how you drawing fit the globe. It's like before you only had to infer to other files to find the mistake, where now you can see the background from the beginning and know when you made it misalign. Your first step should always be to setup the CRS (coordinate system). This is especially true if you work with survey DWG files, which were the source of confusion and complexity before, as DWG doesn't carry CRS. This way whey you imported it in 2019, it would get moved to the center automatically and thus break the GIS. In 2020, you should setup the CRS in Vectorworks, then import the DWG with the GIS option on, and your data will land perfectly on the GIS. And, you can verify this by using the Geolocate tool. The Licensing/Copyright is always a concern when using geo images from services. This is true for ESRI or WMS servers. You should read the licensing for each service you are planning to you always and make sure you can use it in your project. The default satellite and map services that we use from ESRI come with a restriction on image download. This means that we will strip the images form the VWX file on file save. All other export or print will contain them. When you open this VWX file back up, you'll be able to see the Geoimage objects and update them to get the images back. So all the context is saved and the image can be just re-downloaded. In an SP release, we'll make it so the images will be saved if you are logged in ESRI user. Note, this is the same for the geo-image texture that we'll create for Site Models that have the option to texture with GIS image turned on. see above about licensing. we'll not save those images in the main release. SP will make those images be saved when logged in ESRI user. Then it will affect the file size depending how much pixes are being stored, which you have control over, trading size for image quality.
  6. Hi @Clint Alderman, our feature uses the ESRI's map services to request the geo-imagery. It is not associated with any of the other ESRI's products nor QGIS. The feature is essentially asking for images a web service, and we default to ESRI's servers. You can also use WMS servers, and there are several free ones (note though, they still have some limitations on usage): https://wiki.openstreetmap.org/wiki/WMS You can experiment with ArcGIS Online: https://www.arcgis.com This is essentially equivalent of what we have in Vectorworks, only we talk to image services only at the moment. You can play around with this without making a user in www.arcgis.com, click on the 'Map' at the top. Once you log it, you'll have access to more services. Regards, Vlado
  7. Vladislav Stanev

    energos documentation

    Hi Yves, we'll add more information in the documentation on this. While we do, please take a look at this for more information on the meaning of the parameters:
  8. Vladislav Stanev

    Property Line Tool

    Hi @Jim Smith, I've played around with this file, and i think i can see the underlying issue. This a little bit a workflow issue. Of course, we have to tune up the feature to make it easy, but for the time being you can be mindful of this while using it. First, the align issue is that the PDF page is not rotated nor scaled to match the document in Vectorworks. So if you precisely draw by angle and length it will not match until you position, rotate, scale, and then position again the PDF page under your drawing. And then, there is the issue of clock-wise (CW) vs. counter-clock-wise (CCW) direction of the polygons. If you look on the left side of the PDF page, the lines are at N72°38'40"E and then it turns to N17°59'00"W. The first direction is CCW but the next one is CW. This means that if you draw the polygon of the Landscape are using these values, it will go the other direction than what's on the PDF. This is expecting, as you cannot have a single polygon with conflicting directions. So, for this file i would suggest the following workflow: - start of without importing the pdf, but have it in front of you so you can read the directions; - use the Property Line tool in the Bearing and Distance Mode; - enter the corners one by one using the bearing-distance provided in the PDF. With each corner you have to be mindful of the direction it is going in your drawing to match the PDF. if it goes the other-way as you expect, then go back one (with the 'Previous' button) and edit the bearing by flipping the direction (if 'N' make 'S' and if 'E' make 'W' or reverse), then click 'Update' so you can see the change in the drawing. The "Next' button will get you to the new one to be added again; - at this point you should have a Property Line that resembles the shape of the one on the PDF; - now you can import the PDF page - having the PDF selected, use the Modify -> Scale Objects menu command to adjust the scale of the PDF to match the drawing. You can use the dim-buttons to precisely match points on the drawing. - then you can use the cursor and protractor tools on the PDF object to position and rotate it to match with the Property Line. Here you will note that the bearings from the drawing not always match the PDF. You can use the 'Reverse Direction' checkbox from the 'Segments' group of the Property Line shape pane. But again, in your PDF they are not consistent directions. With a single Property Line polygon you can have them either CW or CCW. Of course, you can break it up into several Property Line objects and each can be set appropriately to match the PDF if that's important. I hope that helps, let me know if you have more questions. I'll see to adding a rectangle for the corner indicators, and think about how do we improve presentation of mixed CW and CCW property line segments. Regards, Vlado
  9. Vladislav Stanev

    Property Line Tool

    Hi Jim, can you send me a test file, so we can see what's going on and fix it? Please send it to vstanev@vectorworks.net Also, i'll make sure we add the option for rectangles. Thank you for the suggestion. Regards, Vlado
  10. Vladislav Stanev

    Irrigation Tools...So Slow!

    @ericjhberg can you send me a test file? I want to profile and see what's going on, so we can fix the problem: vstanev@vectorworks.net
  11. Vladislav Stanev

    Is the search in developer.vectorworks.net broken?

    Yes, the API for the google search that we use has been deprecated. We'll update it soon.
  12. Vladislav Stanev

    Reporting Pressure Loss in Worksheets...incorrect values?!

    Hi Eric, to add to Lance's response. This works via a new worksheet function 'WSCustomUnitsTranslate' The worksheets have been updated to use that function os it reports the same value as the OIP. See the worksheet in a new file.
  13. Vladislav Stanev

    Problems Encrypting a Python Script

    Hi, sorry for the late response. I didn't get notification for this for some reason. Anyway, the configuration XML file should be placed next to the vso/vst/vsm file, and it should have the same name. Below, i'll give you a sample xml. The Tools -> Plug-ins-> Encrypt Sript menu you found will only encrypt a single text file. You need to work with the plugins, and thus you need to run the Plugin Manager. You can encrypt a one plugin from the Plugin Manager (as an alternative to EncryptVSPluginFilePath call) holding Ctrl+Shirt+Alt on win or Ctrl+Option+Cmd+Shift+CapsLock on mac and double click on a plugin. It's rather obscure way, and we have plants to make it more stream lined. Maybe this would be easier for your case. (I though this was documented in F1 help, but i couldn't find it) A sample XML file: <?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- This file defines how the corresponding script plug-in should be packaged--><Plugin> <Package> <File>Common/__init__.py</File> <File>Common/Includes/__init__.py</File> <File>Common/Includes/vsoEventsConstants.py</File> <File>Common/Includes/Vector.py</File> <File>Common/Includes/Utilities_Setup.py</File> <File>Common/Includes/ObjsType.py</File> <File>Common/Includes/Utilities_General.py</File> <File>Common/Includes/CheckDashedLineStyle.py</File> <File>Common/Includes/Roadway_Curved.py</File> </Package> </Plugin>
  14. Vladislav Stanev

    Reporting Pressure Loss in Worksheets...incorrect values?!

    We internally store the values in metric. So what you see in the worksheet is kPa (kilo-pascals). However, it should translate the value when displaying in the worksheet. I wonder why it is not working. Can you send a simple file that demonstrates the problem?
  15. Can you send me a small test file that exhibits the problem? Maybe a video too so we can see how to reproduce it.
  16. Vladislav Stanev

    Temporary Disable Irrigation Network Update

    Hi Eric, i'll answer you on the threads of the questions.
  17. Vladislav Stanev

    Temporary Disable Irrigation Network Update

    Hi Eric, well, this is a giant file.It's awesome to see you pushing the limits. The XML property i told you about just removes the asynchronous calculations, which in this case is not useful. I'll add a new property to turn off the auto-calculations (SP2 hopefully) until we find a solution of this. This way, it will not interfere with your work but you'll have to do manual recalculate when you need to see updated values. Regards, Vlado
  18. Vladislav Stanev

    Temporary Disable Irrigation Network Update

    Hi Eric, You can disable the automated calculations and then you can use the menu command to recalculate. However, i'm interested to see why is it cumbersome to you? Can you send me a test file, or at least a video of the problem? (vstanev@vectorworks.net) Thank you. To disable the automated calculations, open this file: \Libraries\Defaults\Irrigation\IrrigationSettings.xml Edit it with a text editor, and put 'false' in the 'AsyncCalculation' tag (there is 'true' at the moment there). This file should be in your app folder. Regards, Vlado
  19. Vladislav Stanev

    Progress Dialog bug?

    Hello, It seems this is a bug in the software. Unfortunately, I cannot find a workaround. Thank you for reporting it. I've added a bug issue request and hopefully it will be fixed soon. Regards, Vlado
  20. Vladislav Stanev

    Origin Woes...

    Hi guys, this issue has already been fixed in VW2014 SP3. Regards, Vlado
  21. If you drag & drop files into Vectorworks, it will import them accordingly with the correct importer for the file type.
  22. Vladislav Stanev

    pasting into georef layers

    The request is implemented for Vectorworks 2015. Thanks for the input.
  23. Vladislav Stanev

    Problems Encrypting a Python Script

    Hi all, now I see this feature was never documented properly by Vectorworks. The encryption (obfuscation) of Python scripts is similar to the VectorScript process. I'll make sure we make an article on developer.vectorworks.net site about that. Until then, here is explanation of how python encryption (obfuscation) works. A user develops his python vso/vst/vsm plug-in. Typically, as the samples demonstrate, the code of the plug-in just includes an external py file. This way it is much easier to develop as it allows external IDE. At the end of the development, the python script is a collection of py files. The encryption (obfuscation) process (run from the Plugin manager or from EncryptVSPluginFilePath call) will compile and pack up all the external pyo or pyc files (those are compiled py files) into the vso/vst/vsm file. This means that the vso/vst/vsm files can be distributed without providing any of the source files. More on python files here: http://stackoverflow.com/questions/8822335/what-does-python-file-extensions-pyc-pyd-pyo-stand-for And here is the trick. For VectorScript the app follows the {$include} directive when doing this, but for Python, there is no way to follow the includes and figure out what is to be included. So, Vectorworks would expect an xml file next to your vso/vst/vsm that is being encrypted. This file will define what files must be included. Note, Vectorworks 2014 has a problem where the main script text inside the vso/vst/vsm will not be modified by the process. This means that even though the plug-in is packed up, the script text is still untouched and can be seen if there is an error reported. The issue will be fixed for VW2015. Here is an example xml file that defines several files to be packed up when encrypting (obfuscating) the plug-in: Note, the name of the XML file should be the same as the VSO/VST/VSM file. Common/__init__.py Common/Vector.py Common/Utilities.py Common/ObjsType.py MyDialog.py MainProgram.py
  24. Vladislav Stanev

    syntax for vs.ForEachObject(callback, c):

    Also, it is even more interesting (different than VectorScript) is the vs.GetPt call. See the sample at: http://developer.vectorworks.net/index.php/VS:GetPt
  25. Vladislav Stanev

    syntax for vs.ForEachObject(callback, c):

    Check the developer.vectorworks again: http://developer.vectorworks.net/index.php/VS:ForEachObject I've put an example of python using this function.


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.