Search the Community
Showing results for tags 'code'.
Found 4 results
Hi i'm having some trouble matching colors in Vectorworks. Attached you can find an image that explains my problem. I imported a reference image made on https://colourco.de/ and imported the JPG image in VW. Than I gave at each circle the right color code reported on the reference. Despite the matching code, the color don't match. If I do the same thing in a software like Affinity Designer it works perfectly. Do anyone knows why? Thanks Francesco
Hello, I have been working on a few Python Scripts that use third party libraries - for example BeautifulSoup4. I intend to Encryption this script into a vsm plugin so that the external libraries are bound to it and can be used on other installations of Vectorworks. I realised that the Encryption/Obfuscation method through Vectorworks is not able to bind the external packages into the vsm file: I've included the path to these libraries in the Script Options and I am using the steps indicated by Vlado in this post for the related 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>code/__init__.py</File> <File>bS4/</File> <File>bS4/__init__.py</File> <File>bS4/.py</File> <File>bS4/diagnose.py</File> <File>bS4/element.py</File> <File>bS4/testing.py</File> <File>bS4/builder/__init__.py</File> <File>bS4/builder/_html5lib.py</File> <File>bS4/builder/_htmlparser.py</File> <File>bS4/builder/_lxml.py</File> </Package> </Plugin> Can any one advise on how to resolve this? Thank you in advance. Giovanni
Hello, I have been coming here for a while to find solutions for things in VW that I couldn't figure out on my own. But now I have one that I can't find a solution for anywhere. I just recently switched from 2015 to 2017 and have run into some lost functionality for fractional alt codes. In 2015 I used alt codes for special characters constantly and the fractional ones have all changed and/or some of them no longer work in 2017. 2015 2017 alt188 = ¼ alt0188 = ¼ alt189 = ½ alt0189 = ½ alt190 = ¾ alt0190 = ¾ alt8539 = ⅛ ? alt8540 = ⅜ ? alt8541 = ⅝ ? alt8542 = ⅞ ? Does anybody know of a solution or an alternate alt code? I could, of course, copy the fractions out of Word but that is tedious compared to the way 2015 worked which was awesome. I am running Windows 10 if that is useful for troubleshooting.
I created a plugin object using python. The main code was pasted into the script editor via the plugin manager. I compiled the script and the plugin item works as it should. Now I would like to lock the script. I'm on a mac and recently made the jump from Vectorworks 2008 to 2016. In the past when creating a vector script I could lock it by holding down 'command' + 'option' + 'shift' + 'caps lock' (it was important that all external files had the extension .px) Now i'm in 2016 and scripting with Python. I only have 1 other file in addition to "import vs", which is, "import shapes" when i compile my script (shapes.py). It finds this file via the scripts options/environment paths. How do I go about locking or encrypting this plugin object? also, I do have a __init__.py file included in the folder that contains shapes.py