Search the Community
Showing results for tags 'encryption'.
So I am attempting to encrypt some plug ins objects (a mix of .vso and vsm objects) to distribute to others. I've done some searching of this wonderful forum, aswell as reading the Vectorscript Guide section on encrytion. Following the instructions in this thread. I created a XML File named the same as my PIO, My code is directly inside the object so I don't need to include any extra files so my XML file just looks like this: <?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- This file defines how the corresponding script plug-in should be packaged--><Plugin> <Package> </Package> </Plugin> I've selected my plug in in the plug in manager, used the Ctrl+Shift+Alt and Double Click method, confirmed twice that I want to encrypt it. All seems to be successful, it won't let me edit the script anymore. However if I go look at the .vso file in a text editor I can still see all the code. Also if I copy the file out of my plug in folder, and then copy it back in, replacing the original, (To try and test installation process for another a new user) I can then edit the scripts again. Am I missing something super obvious? I've seen other people running into similar problems in other threads, but I haven't found any solutions anywhere.
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