Jump to content

sbarrett

Vectorworks, Inc Employee
  • Content Count

    187
  • Joined

  • Last visited

Community Reputation

81 Excellent

About sbarrett

  • Rank
    Journeyman

Personal Information

  • Location
    United States

Recent Profile Visitors

1,409 profile views
  1. sbarrett

    Get Cell Value (Marionette)

    Wrapping is just a way to package a script. You can wrap a script by right-clicking on a node and selecting the appropriate command. When you wrap a script, the Input nodes that have been given names will appear in the OIP when the wrapper is selected. Once a network is wrapped, you can then convert that wrapper to a menu command or Marionette object.
  2. sbarrett

    Get Cell Value (Marionette)

    There aren't any specific tutorials, all I can recommend is to take apart the script you have already and try to figure out how they work. There are some layer nodes that you can use too. You can find out the layer of the space and filter it with Marionette. I have attached a sample network to the other one I sent you that does this. The network is not finished as I don't know exactly how you want the filtering to work, but I tried to show you how to implement it. VW Rooms only_NvdS_Marionette2.vwx
  3. sbarrett

    Get Cell Value (Marionette)

    Yes, its just a matter of creating a filter based on the layer of the object. You can do this with Marionette or you can add a field in your worksheet and query it there.
  4. sbarrett

    Get Cell Value (Marionette)

    Hello @Mi&D- Here is a video that shows what I mean. I run the script in the video and update the tags so they show the correct info. ApplyAptAreatoSpaces.mov
  5. sbarrett

    Sun Path Diagram

    Hello @amcdonell- This is a bug that will be fixed for 2019 in a future service pack. The problem is that with the Mac OS, Apple changed the way that they write file paths, so the command to locate an external library (in this case the geopy library) is broken. This is only a bug for those running Vectorworks on a Mac that is running 10.13 or higher. I also run this OS so I am currently experiencing this bug as well. Unfortunately I don't have any fixes. The script should still work on a PC and on an older Mac OS. This is true for all of my weather analysis graphs.
  6. sbarrett

    Story Elevation on marionette

    Sorry I meant to write set up Storys before you set up Layers - this is because you can then use CreateLevelTemplate to create your default story levels as well as have the option to create associated layers at the same time.
  7. sbarrett

    Story Elevation on marionette

    Hello @C.Miguel- sorry for the late response but I think I have discovered a bug in the story setup commands. I have attached a file that works, but it is important that you set up storys BEFORE you create classes. This is one of the few things that have a set order of operations in Vectorworks. I would also recommend you add in the command CreateStoryLayerTemplate and use that to create your layers, not creating them first and then associating them to a story. The bug I noticed is something to do with units. The document units of the attached file are millimeters, and the command seems to work as millimeters, but if it is set to different document units, it still reads the number as millimeters. I will file a bug but until then I would recommend creating your scripts to set up files using millimeters and then change the document units after running the script. Create Storys mm.vwx
  8. sbarrett

    Get Cell Value (Marionette)

    Hello @Mi&D I have made a script that I think does what you are asking. It takes the total area from the worksheet and writes it to the Additional Info 2 field of the correct space. It works on all the spaces in the document. I have wrapped the network and given it the name "Apply Apartment Area to Spaces." It works, but the space tags do not update automatically - they have to be "bumped." What worked for me was to select all of the spaces, and choose the correct space label from the dropdown list (even if it is already selected). This will update the tag to show the correct info. VW Rooms only_NvdS_Marionette.vwx
  9. sbarrett

    Planar Boolean from two lists of objects

    @Antonio Landsberger pointed out that the node I made doesn't produce an output in the shortest list mode so I updated it. Here is the updated node. PlanarBoolean.vwx
  10. sbarrett

    Planar Boolean from two lists of objects

    I have created a version of the node that I think might work for you. I have added a dropdown menu that allows you to choose whether to cross reference or to compare lists. For brevity's sake, I only added the option of "shortest list" so if one list is longer than the other, the extra of the longer list will be ignored. PlanarBoolean.vwx
  11. sbarrett

    Barn Door

    I did give it a record but I did not attach the actual door record. If you click on the data tab of the object, you can see the fields I gave the record - if you have any other suggestions I would be happy to put them in.
  12. sbarrett

    Scale awareness of object nodes

    I am not sure if it is possible to tie objects to viewport scale or annotation space, but there is a command that reads layer scale and you can use that to scale your tags if they are being placed in the design layer. I created a node that gets the layer scale that an object is in - if the scale is 1:1, the node will return "1" and if the scale is 1:50, the node will return "50." This was based on the Get Layer node, I just added a command to get the layer scale instead. GetLayerScale.vwx HTH, Sarah
  13. sbarrett

    Barn Door

    Version 1.0.0

    86 downloads

    Here is a Marionette object that functions as a schematic Barn Door. It opens and closes with a slider and has separate 2D and 3D geometry. The wheel and hanger are a symbol, so if you wish to change their look you can edit the current symbol or create a new one. The insertion point of the symbol must be where the wheel touches the track.
  14. sbarrett

    Placing symbols using node

    There is a way you can create this. You can use a Popup node in the Input folder. You have to edit the script inside by deleting the top line of the script and then adding the choices into the appropriate part of the script. The output of this node is the index value of the selection you make from the popup list. for example, if you have four choices: ['Red', 'Orange', 'Yellow', 'Green'] the corresponding index values will be [0, 1, 2, 3]. You can build a corresponding list of values and use a Get Item node to draw the correct value from the list. Popup.vwx
  15. sbarrett

    Placing symbols using node

    Here are a few scripts that work by placing 3D symbols at specific locations.

 

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.

×