Jump to content


Vectorworks, Inc Employee
  • Content Count

  • Joined

  • Last visited

Everything posted by sbarrett

  1. Hello - unfortunately I used a version of the Collate node that was not the same as in the default library. That node needs different inputs. Below is the thread talking about this, and I have attached a corrected script. EXTRUDED TRIANGLES.vwx
  2. Unfortunately there is bug in 2021 that doesn't allow the geopy python library to be downloaded, making these not useable in Vectorworks 2021.
  3. Version 1.0.0


    This is a wrapper that serves a similar function to Grasshopper's Graph Mapper component. To use the wrapper, connect it to a network, give it a minimum and maximum value for its domain range, the number of values you want in your list, and use a Name node to connect a drawn NURBS curve to the hCurve input. When you reshape the curve and run the network, the output list of values will change. You can use these values to shape, scale, array, or anything else in your network. Within the Curve Map Wrapper file is an example of a railing Marionette object and in the second file there is a vase Marionette object. Both use the Curve Map wrapper. This wrapper can be used in Marionette objects or regular Marionette networks.
  4. sbarrett

    creat pavers

    Here are a few scripts that create random arrays of objects. They are probably not exactly what you are looking for but could be helpful.
  5. One other thing - the Sequence node actually creates a list that is too long based on the number of vertices. The Series node works better. Fillet multiple polys v2021 SB.vwx
  6. You were almost there. You got the list of vertices correct, but the hPoly input of the Change Vertex Type node needs to have the correct polys compared to the list of vertices. What I did was I "repeated" each of the poly handles so that the polys and vertices matched. I didn't duplicate them, I just repeated their handles in a list so the node would know to go back to that poly each time. This is one of those times when it is important that you have the same list lengths going into the inputs because if they are not the same length, the last item in the shorter list will simply be repeated over and over until the longer list is complete. Fillet multiple polys v2021 SB.vwx
  7. I am not aware of any way to automatically ungroup geometry. FYI, the reason that Marionette scripts create groups is so that the geometry is "tied" to the script. The script not only creates a group, but names that group with a name related to the script, so that when the script runs again, the named group is deleted and replaced.
  8. The idea of this object is that it is a jumping off point. This was done in response to a user's request and covers the basic specs they were looking for. I am definitely open to improving the object but I also hope people will be inspired to update it themselves!
  9. I see what you mean. I am seeing the same issue when I try to import it into a new file as well. I am filing a bug. -Sarah
  10. Does it only disappear after importing it into your drawing? Can you manipulate it in the original file? Can you tell if all of the "parts" import into your file as well? What happens if you click the Update button in the OIP?
  11. I have uploaded a new version that works in 2021
  12. Version 1.0.0


    This is a path-based Marionette object that creates a stage. This is a little different from the Create Stage... command as it allows you to make the stage from any shape and to choose symbol-based profiles for the frame, bracing and legs. It also uses a leg pocket symbol. You can edit the existing symbols to customize this stage or you can create your own library of symbols to use.
  13. Version 1.0.0


    This is a Marionette object that uses several python libraries - Pillow, NumPy, and SciPy - to create a triangulated panel that takes its colors from the pixels of an image. The color for each triangle is the average RGB value for all the pixels that would fall within that shape if the picture and the panel were aligned. To create this object I used some nodes that @Marissa Farrell created, a couple from this file and one node from this file. As this Marionette object contains external libraries, you may see some prompts to download libraries the first time you make a change. Just click OK when prompted. Unfortunately, this object does not work on PC running Vectorworks 2020. It does however work on a PC running Vectorworks 2021. There are two files in this post, one with just the Marionette object and another that uses the Marionette object in an actual model.
  14. Each part of the scissor lift is a modeled symbol, so those symbols would have to be replaced by ones that are a different size. The way that the script works is that each symbol is named and and each symbol contains a named locus point where the next symbol in the sequence is attached.
  15. @Sebasrougs when you create your list of points to move your duplicates, you need to use the Mix2 node and select the Cross Reference mode in the dropdown. You need to create XYZ coordinates of every possible combination.
  16. Hi @KroVex - The wall height is separate from the story height in Vectorworks. This allows you to draw walls at a specific height that are NOT bound to specific stories, only Layer Wall Heights. If you draw walls that are story-bound, then the walls will adjust with the stories. Since the premise of this script is to create stories so that story-bound wall styles will work, I didn't make any changes to the Layer Wall Height.
  17. What you are talking about is the same idea as this file. This takes loci and nearby text taken from a survey and converts them to the Existing Tree PIO. It could be adapted to the Space object. Because the Space is a path-based object (each Space shape is potentially unique, based on a path), you would have to adjust the script a little.
  18. Most nodes new nodes will work in 2016 because they use pre-existing python functionality, but some nodes have Marionette-specific functionality, such as the Valve node, the Slider node, and the Chart nodes.
  19. Hello, You need to use the node "Get Font ID" between the String node and the iFontID port of the Set Char Properties node. When in doubt, check that the prefixes of the output and input ports match. (They won't always match because of generic prefixes like "item" and "list", but they can be helpful in these situations.)
  20. I am coming in a little late to this conversation but I created a network for Landmark users a while ago that sounds very similar to what you want. Now that you have gotten started, you may not need this, but it might still be a helpful resource.
  21. Once you move the control points of a Marionette object, they will stay that way. What I would recommend is naming the Control Point node so it's values will appear in the OIP of the Marionette object. You can manually reset them there if you need to.
  22. Hi @halfcouple - you are correct in that you have to use a Menu Command to run a network on selected objects, you cannot do it with a regular network or a Marionette object. You can give yourself access to options in a menu command by using the nodes in the User Interaction folder in the Resource Selector. If you replace the regular input nodes with these dialog nodes, when you run the command, dialogs will pop up for each node asking what you want the parameters to be.
  23. Yes, you can use a Control Point 2D node. I have added it to one of your Marionette objects. rectangles with grids.vwx
  24. I have edited the node so that the "result" shows up and the associated data tag is now an output as well. This network will work when running it on a single design layer, but because of how Marionette works (creating groups of objects), placing them on multiple layers at the same time is rather tricky and I don't recommend it. Also, I don't recommend trying to use this with viewports. If you are tagging objects in viewports, I think using the data tag as-is works better than trying to script it. DT_AssociateWithObj.vwx


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...