Jump to content

sbarrett

Vectorworks, Inc Employee
  • Content Count

    272
  • Joined

  • Last visited

Everything posted by sbarrett

  1. I made some changes to the network. Mainly, instead of having the object sent through lots of different Set Record Field nodes at once, I had them pass one through the other. This may not have been necessary but it seems to have fixed the problem. Also, there were a few of the Set Record Field nodes where the Record Name string was not attached. In order to convert this to a menu command and have the fields pop up (instead of being available in the OIP), you can replace the purple Input nodes with User Interaction nodes. There is a User Interaction folder at the bottom of the list of Marionette node folders. These nodes produce dialogs that pop up every time you run a network. Cavity Barrier-SB2.vwx
  2. No, it is not necessary for the particular network you are creating, but if you want to look for specific types of IFC objects, that is a helpful node. The other thing I did was change the info in the Obj by Criteria node. You can't run a network on selected objects, because a node within the network always has to be selected for the network to be run. The only way to use Marionette on selected objects is to convert the network to a Menu Command. You can do this once the network is complete, but while you are building the network, the Obj by Criteria cannot refer to Selection State.
  3. To get the right values, type the field names into the String nodes exactly as you see them here: I have updated the file. Cavity Barrier-SB.vwx
  4. If you are using Vectorworks 2018, then I believe the menu command you are looking at is IFC Data Mapping. What you are seeing with "[Object.VW_Name] ELSE [Object.IDPrefix] + [Object.IDLabel] + [Object.IDSuffix] ELSE 'Window' " is the Field Value that is generated from pulling information from the Window object itself. With the Get IFC Property Node, you need to input the Field Name in order to get the Field Value. I believe in your example, the Field Name is Reference or IFCReference or something along those lines. When you input that into the node, the output will be the string value for this formula: "[Object.VW_Name] ELSE [Object.IDPrefix] + [Object.IDLabel] + [Object.IDSuffix] ELSE 'Window' ", or whatever the Field Value may be for the particular object you are querying.
  5. Version 1.0.0

    13 downloads

    This menu command can be used on a selected parametric -- or plug-in -- object. Most plug-in objects in Vectorworks have a parametric record and this command can be used to see what the field names and field values are for that particular object. The values in these fields generate the shape and attributes of the object. I use this menu command to find out what fields a particular object has, so I can use those fields to incorporate that object into my networks.
  6. Version 1.0.0

    27 downloads

    Here are files that I use to do Marionette training. I thought that it would make sense to add them to the forum because they are useful in their own right, even without me talking through them. The Marionette 101 and 102 files go step by step through building Marionette networks. In both files, you can cycle through the Saved Views to see each iteration of the network and what geometry it produces. When you create a Marionette network you don't necessarily place all the nodes linearly from left to right, you build it in chunks of functionality, and the nodes that make up those chunks don't always follow from left to right like words on a page. Everybody might build their networks a little differently, but in these two networks, I show how I would solve these particular problems. The first network is a series of cubes that grow in size and that series can grow and rotate. This network has also been converted to a Marionette object and contains sliders in the final version. The second network is a series of squares that have a spectrum of colors applied to them. Because several steps of this network do not generate geometry, Saved Views have been added showing Print Debug nodes that display the values of the network.
  7. 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
  8. Unfortunately there is bug in 2021 that doesn't allow the geopy python library to be downloaded, making these not useable in Vectorworks 2021.
  9. Version 1.0.0

    131 downloads

    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.
  10. 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.
  11. 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
  12. 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
  13. 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.
  14. 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!
  15. 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
  16. 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?
  17. I have uploaded a new version that works in 2021
  18. Version 1.0.0

    182 downloads

    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.
  19. Version 1.0.0

    90 downloads

    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.
  20. 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.
  21. @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.
  22. 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.
  23. 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.
  24. 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.

 

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