sbarrett

Vectorworks, Inc Employee
  • Content count

    114
  • Joined

  • Last visited

Community Reputation

41 Great

7 Followers

About sbarrett

  • Rank
    Journeyman

Recent Profile Visitors

404 profile views
  1. Hello @Jab_be, If you want to save a Marionette script to use in another file, the easiest way is to wrap the network, select the wrapper and go to Modify -> Create Symbol... and make sure that "Convert to Plug-In Object" is checked. Now your network is a Plug-In Object in your document and you can import it into another document just like any other Plug-In Object.
  2. Version 1.0.0

    21 downloads

    This is a Marionette network that converts a mesh to 3D locus points. This is very useful for converting meshes of terrains imported into SketchUp from Google Earth into Vectorworks Site Models. Once you have a SketchUp mesh, import it into Vectorworks and give the mesh a name. Take the wrapper in this file and place it in the same drawing. Change the name of the mesh in the OIP of the wrapper to the name you gave the SketchUp mesh. Raising the number of the grid density will make your site model more accurate, but it might take the wrapper up to a minute or two run. When you run the script, you will get a group of 3D loci. Ungroup the loci, and keeping them selected, go to AEC -> Terrain -> Create Site Model... (in the Architect Workspace). Choose your settings and click ok
  3. Psychometric Chart

    Version 2.0.0

    7 downloads

    This is a Marionette Object that downloads weather data from the internet based on the address/location you enter into the OIP. The data this graphic shows the psychometric data for a specific location. You must have a valid internet connection to use this MO.
  4. Precipitation Chart

    Version 2.0.0

    6 downloads

    This is a Marionette Object that downloads weather data from the internet based on the address/location you enter into the OIP. The data this graphic shows the peak one hour rainfall and the total monthly rainfall per month. You must have a valid internet connection to use this MO.
  5. Temperature Chart

    Version 2.0.0

    8 downloads

    This is a Marionette Object that downloads weather data from the internet based on the address/location you enter into the OIP. The data this graphic shows is the max, average, and min temperatures per month at a specific location. You must have a valid internet connection to use this MO.
  6. Sun Path Diagram

    Version 1.0.0

    5 downloads

    This is a Marionette Object that downloads weather data from the internet based on the address/location you enter into the OIP. The data this graphic shows is the angle of the sun path at different times of the year. You must have a valid internet connection to use this MO.
  7. @Mandolomo I don't know if changing the text's justification will help much because the network is set up so that the text box is only as big as the text inside. Changing the horizontal alignment will change the position of the entire text box - if you make the text box bigger then the justification will change the way you want it to.
  8. I reworked your network a bit - instead of creating the rectangles and arcs and then moving them based on the position of the text, I used Get Rectangle nodes to get the different control points of the text box and had those points be the starting points of the rectangles and arcs. I wrote a custom node that draws a rectangle from a width and height and center point. I then added the pop up node - basically whatever list you give it, the output is the index value of that list. So if its the first item in the list, the output is 0, the second item, the output is 1, etc. You can then use the Get Item node with a list of values (corresponding to the list in the Popup node) and then feed the Popup node to the Index input of the Get Item node. I set up the network so you can use the popup to choose left, top, right, or bottom for the arrow positions. If you want to make it a resource, all you have to do is select the Marionette object, go to Modify - Create Symbol... and make sure that Convert to Plug-In Object is checked. Then it will be available in your resource browser just like any other object. Position_Label_Combined.vwx
  9. Hello @Mandolomo- I see that you are using an educational version of Vectorworks but it is v 2016. I would recommend upgrading to 2017, because Marionette is much easier to use - mainly because there is now a search function in the Resource Manager which allows you to search for nodes by name, as well as the nodes are in page units, so you can scale your drawing and the nodes will remain page size. I would recommend using the Get Rectangle Node in the Objects-Rectangles category to get you a position on your object. Even if you object is not a rectangle, it will give you the bounding box of the object so it will still work I have attached a doc that has a Popup node that you can edit. Just double click on the node and read the grayed out lines inside for instructions. Popup.vwx
  10. The way I would do this is to used a Divide Curve node which is in the NURBS folder. This will give you a series of 3D points, then you duplicate your object and move those duplicates to the points. This will give you a path array based on number of divisions of the path, but if you want to do it by distance, you would have to do some math where you figure out the length of the curve/3D poly, then get your number of divisions that way.
  11. There was a little line of code missing to ungroup the 3D polys - I have included an edited version of the node in a new file. I will file a bug for this to get changed in the node library as well. Also, the ungroup nodes are unnecessary in your network - the geometry outputs of nodes are automatically placed in Marionette containers/groups for versioning purposes, but this actually has no effect on how the geometry travels through the network. Marionette Proj Playground_edited.vwx
  12. hello - if you are asking for (somewhat) interactive graphs, you can take a look at my weather analysis tools - they download data from the internet and create graphics. You will probably have to do a lot of adapting though.
  13. Hello - This was an interesting question for me because I have not done much scripting with symbols, so I just made it for you. I am interested to know how you would use this; it seems like you would want more control, such as instead of creating extrudes, creating spaces, or perhaps extruding different heights based off of other data. There is a drop down menu in the wrapper that allows you to select different types of 2D objects to extrude. One of the symbols has a polyline, so I would run it once for polygons, and once for polylines. WorkflowTest_28Feb17-SB3.vwx
  14. Thanks Pat! That is exactly what I needed!
  15. Is there a way to insert an object into an existing symbol? I can't find any relevant calls in the "Object-Symbols" section of the developer page. Any help would be greatly appreciated. Thanks, Sarah