Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

282 Spectacular

About DomC

  • Rank

Personal Information

  • Location

Recent Profile Visitors

5,054 profile views
  1. Hello I looked into the Scripts from Marissa and Sarah and their .whl Installers are Working. So I think it is just an issue of the correct Library Installer. The .whl Installer I used, creates an error because of PIP incompatibility. And then I think the issue is, that not immediately the library can be imported. I will try Update this Stand-Allon-Installation-Nodes ca. middle next week.
  2. Just tried on Mac (10.14.6 Mojave) Did again some test with a blank user folder and Build 571107. I did the following: 1. Installed PIL with the attached Marionette Node 2. Tested to import PIL by Script or Marionette Node > Failed Module not found 3. Tried to set search-Path to "Python Externals" > Failed 4. Tried running Marionette Node with this Module > Failed 5. Renamed folder to "PythonExternals" 6. Setting search Path to that Folder in a Script > OK 7. Tested import of the Module in Script > OK 8. Running Marionette Example with PIL > OK 9. Renamed back "PythonExternals" to "Python Externals" run again Marionette Example > OK (now I am confused, maybe a caching thing) InstallPillow.mp4 Movie attached
  3. Hi Same issue here. I think the installation of Python Moduls via VerifyOrGetLib still works. I had not much time to go deeper into that problem. Spontaneously I would say, Vectorworks 2021 uses "Python Externals" as the installation Path and "PythonExternals" as the search Path or "Python Externals" do not work anymore for the Script Engine. Also it is confusing, I cant set the Folder "Python Externals" as a search Path of a Python Script. As a short fix I was able to Install all Moduls with the Marionette nodes. After That renaming "Python Externals" to "PythonExternals" and it worked. Tried this on Mac, Installed new Pillow Fork with the Node. Then Renamed the Python Externals Folder and all my old "Pillow" Examples worked here. Beside that here I have an issue, that Marionette Scripts do not "Alert" Errors. I had to thest with Text-Scripts. Hope that Workaround is able to fix it also for your Scripts. Regards import numpy scipy pillow etc v2021.vwx
  4. DomC

    Create Symbol

    Hi First lets talk about what is an Object List? A List in Python ist like ['Symbol1', 'Symbol2', 'Symbol3'] Used by the any input it will produce one line for every symbol name. This ist the input, the symbol node wants But yes, we can input a List of objects. Example: This node was made to produce over 15'000 furnitures at once from an external list of objects.
  5. Version 1.0.0


    Three Examples of Marionette PIOs of Circular Stairs.
  6. @Andrew Lock You have a lot of differences in your Organisation (Input Blue Symbol oder Input Control Geometry) of the geometry input. The Following rules you have to follow: 1. The Input of the Reshape node has to be a group. or a Symbol the content is reshaped 2. Only Content which are solids, (Extrude, Volume Add etc.) will be reshaped. Your content are groups. And in the groups there are 3D polys. This will not work at all. The Reshape node will ignore groups in groups from reshape, and will not reshape meshes or 3D Polys or planar objects 3. The Insertion point of the control geometry is back left. Fix the following Variante A: 1. Ungroup the group in your 3D Symbol. 2. Ungroup every group once and Volume operation Add Volume of the 3D Polys to get a solid. Remember, groups will not be reshaped. Fix Variante B: 1. Make blue symbol 2. ungroup the group in group in your symbol and change to solids Fix Variante B: Just paste the Control content (no 3D polys please) from your symbol to the control geometry directly. Group this objects. You will not need a symbol then Attached a movie with Variante A with your original Example Variante A.mp4
  7. Version 1.0.0


    Importer Nodes for the most used external python packages. Tested with VW 2020 SP1, Mojave 10.14.6 and Windows 10
  8. Hi This thread is a little older. I just had to install pandas and it worked with the following script (VW 2020). Not tested on Windows. Newer Versions of pandas maybe possible but some of them requires python 3.5.3 and we have 3.5.2 embedded in Vectorworks import sys import Marionette import platform import os Usr = vs.GetFolderPath(-12) (major, minor, maintenance, platform, buildNum) = vs.GetVersionEx() if platform == 1: Path = Usr + 'temp/tempImg.png' else: Path = Usr + 'temp\\tempImg.png' vs.AlrtDialog(str(sys.version)) if platform == 2: pandas = 'https://files.pythonhosted.org/packages/9f/df/6718044777d8a76532cb219a7604606e784bf630fe724a3fec2000ce31b1/pandas-0.21.0-cp35-cp35m-win_amd64.whl' else: pandas = 'https://files.pythonhosted.org/packages/69/c2/0323c5bdb0d0b8b9e07dc96e81fb13155784a4b2d5cb1feaa110261e5ae3/pandas-0.21.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl' if Marionette.VerifyOrGetLib('pandas', pandas): pass else: vs.AlrtDialog('Modul pandas ist bereits installiert')
  9. You can try it out manually. Just Make a Symbol of your contour and make a blue symbol (In Gruppe umwandeln) in the Symbol settings. Then insert your symbol. As you can see, your contour it is a single object. The same behaviour as if you insert it in a marionette script. A good start to make a script is to have a definition of parameters and some example drawings. Also always try to find out if it is already part of standard-functionality . So you or anybody else is able to see, how complexe or simple your Programm will be. For most project you should calculate 4-5 days if you start from scratch. Maybe there is something similar already there (I remember a Frame example here, which also used symbols as a profile for path objects)
  10. We are talking about BLUE symbols, with the symbol setting "insert as group"? Or red symbols, which are containing a PIO. As Pat mentioned, a single object (polyline as example) will be inserted as a single object. Multiple Objects as a group. The Croup content you can reach easily with the Marionette Content Node. Split them with the List Explode Node.
  11. @Dod Definitely the ConvertToGroup Node converts the input to a group but there is no output (this node is junk, sorry :-). I think there is no easy and quick solution right now. I would strongly recommend using blue symbols for that what you want to do with the symbol. You can activate and rightclick all symbols in the resource browser and then "Symboleinstellungen bearbeiten" > "in Gruppe umwandeln".
  12. @Luisa I am back from vacation so sorry for late reply. Basically this Example do the following: 1. Collect Objects in the drawing with the criteria node 2. Read some informations of the objects and put them together with a viewport on different sheet layers. 3. additionally it creates a title block with some informations about the object You can do this for all objects independent if they have a record or not. It is just an example. Because it is a Marionette feature you could enhance or change, what the script should do (Maybe group all spaces from one layer on the same sheet layer, maybe collect additionally informations from objects which are in the space or on bound of the space, etc. etc.) To your question: All spaces are already linked to a record format (Datenbank). Specific the Example with the spaces, uses the room Number for naming the sheet layers. Also it reads data for write them to the title block. If your spaces have not the informations as the script excepts (No Room Number, No Name etc.) it maybe will not run. So if your spaces and informations are not the same type as in this example the script has to be fit to your space informations. You could share some of your spaces, that would help understanding if an issue appears


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.

  • Create New...