Jump to content

K.Lalkovski

Vectorworks, Inc Employee
  • Posts

    112
  • Joined

  • Last visited

Everything posted by K.Lalkovski

  1. Hi @heavy manners, We implemented Plug-in styles for Marionette Objects 2 years ago. And setting all the Marionette object parameters by instance was by design.This is how it works at the moment. My suggestion is just create a wish in our Jira so that we can consider supporting the parameters by style as well. As for your second question about the mystery - "However, the script itself is set by style and can be edited to affect all instances that use the style." Please, look at the attached video. As can be seen, regardless of the fact that the individual circles have different radiuses, manually changed through the OIP for each instance of the style, if we edit the network in the red symbol in RM and add additional functionality, in this case, extrude, after finishing the marionette network editing in the Resource Manager (the red symbol), all circles will become cylindrical extrudes, and their radius will be the same, equal to the parameter value seen in the dialog with the button E dit script. That is, all instances will change after editing the marionette network in the Marionette Object style and will be aligned to the parameter values of the Marionette network in the red symbol in the Resource Manager. The idea is, taking your door example into consideration - if you want, for instance, to add a handle to the doors, you add to the marionette network in the red symbol new nodes that create it, and all instances will have a handle after editing the network of the plug-in style. Regards, Konstantin 2024-06-14 16-00-35.mkv
  2. Hi @Paolo, I saw you have already found a solution, but here is an example on Windows that finds package certifi. Just open vwx file and run find certifi node. The problem with the module not being found is that certifi for VW2023(Win) is not a direct descendant of the 'site-packages' folder and just the path to certifi needs to be added at runtime. testcertifipresence.vwx
  3. Hi Niels Timmer, Could you please attach here the object you have created in order for us to look into it? Thanks, Konstantin
  4. Hi @_James Yes, NBS Chorus plug-in works for 2023.Please, see attached video on how to install the plug-in with VW 2023. Regards Konstantin How to install NBS Chorus.mp4
  5. Hi TBexon, I do not know if you have found the solution for your issue or still interested in running PyOpenSSL with Vectorworks, but on Friday I started looking at this problem while resolving a bug from Dominique about the serch path. The DLL that pyOpenSSL looks for is python3.dll.It is in python's folder where also python.exe resides. This path is included in the python search paths in VW. For some reason the code of pyOpenSSL when installed cannot find python3.dll.It's package's code search problem. If you copy python3.dll from python's folder to VW application folder(where VW exe resides) you will be able to use pyOpenSSl.
  6. Hi @Paolo, There are two approaches to resolve the problem: First approach: Replace VW2022 SP1(619242) with the new VW 2022 SP2(622317) . Second, if you prefer to deal with the existing VW2022 SP1(619242) Please, find the attached file scripts.zip. On the problematic PC: 1. Go to <VW App folder>\Python39\Scripts 2.Delete the contents of this folder. 3.Unzip the contents of the scripts.zip file 4.Run VW and try to install PIL. You should be able to install the Pillow package and any other package. Let me know if this works for you! Scripts.zip
  7. Hi @Paolo, Please, take a look at the attached video. What is the number of the Autobuild 2022 you are testing on windows? Give me also details of your system configuration(windows version, processor). The warning on Mac will be removed in 2022 SP3. Could you prepare a video file for me to see what exactly happens on your machine? Pillow Install.mp4
  8. Hi TBexon, if you run this on 2022 it is going to work(returns true): localized_True_Bool = vs.EvalStr(vs.Handle(0), "1=1") # Gets Localised True Bool vs.AlrtDialog(str(localized_True_Bool))/*I removed type() here*/ Regards, Konstantin
  9. @tbexon I asked my colleagues @Yasen Aleksiev to look into this and answer you.
  10. Hello @Paolo I have been working on this issue when I have a good result I'll let you know.
  11. @tbexon Where do you receive this behavior om Mac OS or Windows?
  12. @Paolo It is a warning, not an error. The pip module is part of the current python distribution with Vectorworks, both on PC and Mac. The distribution is embedded into the Vectorworks application bundle on Mac. On Win it is just a folder on the disk. On Mac, the pip module cannot be directly accessed as this can be done on PC. This line of code is used to access the embedded pip on Mac ret_code = pip.main(['install', destination,'-q','--target', cmd]) and it is the reason for the warning. In the next version of VerifyOrGetLib, I'll fix the line in order to remove that warning.
  13. @tbexon The fix for pip is now included in VW 2020 SP5.
  14. @tbexon Thank you for your reply. It's not about the versions, I've sent you this pip3 copy just to see if my suspicion of what is going wrong is correct and my fix is working.
  15. @Paolo The pip3 problem is fixed. You just need a 2021 version with a build number bigger than 560093.
  16. @tbexon Could please try this pip3.exe in the attached archive pip3.zip 1.Goto VW folder\Python35\Scripts 2.rename old pip3.exe to pip3old.exe 3.unzip new pip3.exe. 4.Start VW and try on your machine the script above that was giving the error "SyntaxError: Non-UTF-8 code starting with '\x90'" in file D:\Program Files\Vectorwork". Report the results here.If there is no more such a syntax error try to download PIL for Python 3.5 via Marioentte.VerifyOrgetLib and let me kknow about the result. pip3.zip
  17. @tbexon Thank you for the info. Could you please execute this script as well? import sys print("sys.getwindowsversion = ",sys.getwindowsversion())
  18. @Paolo If possible let the user execute the following script from the command line. Goes to Python folder of VW(Python35). import sys import locale print("sys.stdin.encoding = ", sys.stdin.encoding) print("locale.getpreferredencoding = ",locale.getpreferredencoding()) print("locale.getpreferredencoding = ",locale.getpreferredencoding(False)) print("sys.getdefaultencoding = ",sys.getdefaultencoding()) print("sys.getfilesystemencoding = ",sys.getfilesystemencoding())
  19. @Paolo , Could you please report the exact number of the build 2020 sp4 you are using? Could I have also any available information about windows (version, build), where the problem with pip 3 occurs. Do you have any other python installation on your PC ? I have tested your file Download PIL.vwx with 2020 SP4(551884), everything seems OK. I have Windows 10 Pro, build 1903. Please, take a look at the attached video. 2020-07-31-12-42-26.mp4
  20. @gester Please, could you try attached file.The links to wheel files were outdated, now they are fixed. PythonLibsNeeded_v2019.vwx
×
×
  • Create New...