Jump to content

sbarrett

Vectorworks, Inc Employee
  • Content Count

    233
  • Joined

  • Last visited

Everything posted by sbarrett

  1. Here is a version of the If node that I use - if the length of the true values, false values, and test values are all the same, it works the same as the original If node. if the lengths of the values are not the same, it takes the first value of the test values and uses that to determine which list of values (true or false) will be sent through the node. For example: True values: [1,2,3,4,5] False values: [A,B,C] Test values: False Then the result would be [A,B,C] Ifv2.vwx
  2. That is definitely something that can be added to the script - I mentioned in an earlier post that the script takes data from the three closest weather stations to the location entered into the OIP. If I enter a city, like Baltimore, MD, the geocoded function in the script will extrapolate that city's "center," which may not be the geographic center of the city but a particular landmark. As there may be several weather stations in a city, the more specific you can make the address (as in 1234 Main St., Baltimore, MD) the more accurate the weather station choices will be. I will add printing out a list of weather stations to my version 2.0 list.
  3. When I have several objects that are created by a network and can't be ordered the way I want them initially, I will put them through an ordered list at the end, then through a group node, then an ungroup node. This will put them in the correct order as well as a single Marionette group.
  4. hi @digitalmechanics - The errors for the wind rose are timeout errors from accessing the internet - this can happen when the internet connection is a little slow, or if you try changing the Marionette object several times very quickly. Just try running it with those parameters again - it should work. If you get the error again, check your internet connection and try again. As for the Precipitation chart, I see your problem - for a place like Phoenix this problem makes sense because it gets very little rainfall. I will have to make an edit to place the average value to the right or left of the bars of the graph.
  5. @jpoqthe first time you use the tool it can take up to a couple minutes to update - this is because it has several things it has to download first that it will never have to download again. There will likely be dialog boxes that pop up asking you to install a Python library, press OK when these pop up. If you internet connection is spotty, the definition can time out. I would suggest that before you change anything on the object, that you right-click and select convert to wrapper node. Then you can change all of the parameters that you like and then run the definition after you have done this - I would recommend using an American address first time you run it (because it is an American website) and that you make the time period as small as possible. After you have made all of these changes, run the wrapper node. I hope that helps!
  6. There might be a way to make it more accurate - the network takes data from the THREE closest weather stations to the address you give. Some smaller weather stations don't have great data, so I figured the best way to mitigate that would be to average. There is a way to change this though - if you double-click on the Marionette object, you will see the script inside. Near the beginning of the network, there is an olive green node called "Get Nearby Stations." If you select that node, you will see there is a text box in the OIP that says "3." If you change that 3 to 1 it will only give you the closest station. I find the best weather data comes from airport weather stations, so give an address close to the airport to make sure that weather station is used.
  7. That could be an interesting exercise - perhaps give a choice between different websites, and then be able to compare and contrast. This would be a hefty task though because I would have to create a different script for downloading the data from each website, but still organize the data so it would be universal to the rest of the marionette network.
  8. Ah - that is probably due to the data - the data for the charts all comes from the same site - I wanted to do that so the tools could work together, and once you download the data for one chart, it is available for all the other charts. For some reason, the data for precipitation was sometimes sparse for each weather station. I tried several different websites and chose the one I did because it had the easiest interface to download data and had the best data across the five tools. It sounds like I might have to use a different website for precipitation...
  9. Not necessarily - it was something I was considering. The reason I chose monthly rainfall is that to get a good graph of annual rainfall you need to download a lot of years of data - all of these tools use the same data files, and the rainfall data is hourly. The current precipitation chart downloads the hourly data and averages it by month. If I did total annual rainfall I would make it a separate chart, because combining the two data types (average and total) would change the range and layout of the graph.
  10. Hello @NikF I just tried inputting "Vienna" into the Temperature Chart and it seems to work. The address locator is similar to Google maps - it takes a lot of different input formats.
  11. Hi Stephan - I am having trouble downloading your file, but from how you describe what is happening, I think this is a bug. There is a bug that I am aware of when you run a wrapped network for the first time after you have duplicated it by duplicating a layer, and usually, this only happens once for each wrapper in a network. This sounds like what you are talking about, but there may be something else involved too - if you can, please file a bug with Vectorworks. btw, this sounds like an awesome script!
  12. Oachl Kini's answer works great, but for future reference (and if the one or more of the different outputs is in list format) here is how you can do it with the If node. 3ChoiceIfStatement.vwx
  13. Hello All! Here are the rest of the Weather Analysis Tools I have been working on. These have the same caveats as the Wind Rose - all of them access the internet every time the network is run. These are also a lot newer than the Wind Rose, so there may still be some kinks - I would call these beta versions. Please let me know if you have any issues! WeatherAnalysis-Precipitation-161221.vwx WeatherAnalysis-Psychrometrics-161221.vwx WeatherAnalysis-SolarPath-161221.vwx WeatherAnalysis-Temperature-170125.vwx
  14. Well, with Marionette, you don't need to create symbols and them try to array them - the objects get created and arrayed at the same time. The most efficient way to do this is first to build a Marionette definition that creates the symbol you are trying to build that has inputs for location and (at least for this example) sphere height. Then instead of giving the marionette definition just one point and just one height, give it a LIST of heights and a LIST of location. The script will build each individual object and array them simultaneously. (If you did this by hand it would be much more efficient to make the symbol first and then array it, but not with Marionette.) The list of points you can make by using the Range, Series, or Sequence nodes - they each create series of numbers in a slightly different way. Then, if you have a worksheet or a spreadsheet or a text file that has the list of heights, you can use Marionette to import those numbers directly from the external file to create your input list of heights.
  15. Cool! - this should in theory work with roof and slab styles as well
  16. Hi Nico, I tried using your Marionette Object, and I think it all depends on how you access it. If I IMPORT the symbol from the original file and then select it in the new file and place it on the drawing, I don't have any problems - it works fine. But if I try just selecting it in the original file and placing it in a new file that way, I get errors. This is due to the nature of a Marionette Object - even though it is wrapped in a nice package, its still (in theory) a lot of moving parts. Using the workflow of importing the symbol first and then accessing the imported version is the best way to keep all of those moving parts working smoothly. Hope that fixes your problem!
  17. Hi- Here is a simple definition that draws a sphere directly below the chamfer as well as a line from the center of the chamfer to the center of the sphere. typing in a different number for "sphere height" will change the height and a different number for radius will change the size of the sphere.SPECIAL SYMBOL-sb.vwx I hope this helps get you started!
  18. @Alan Woodwell- here is a link to the Marionette script that Luis showed in his webinar.
  19. Version 1.0.0

    50 downloads

    Here is a script that converts a NURBS surface to a wall with components that can be exported to IFC. The wall is an Auto Hybrid object made up of 3D Solids that match the thicknesses and attributes of the components of a referenced wall style. CWS_1212_IFC.vwx A couple caveats: Make sure that wall style names do not have a single or double quotation symbol in the name - it will get misinterpreted by the String Node. Also, if your base surface is an Interpolated Surface, use the tool in the 3D Power Pack - Rebuild NURBS... - to convert it to a standard NURBS surface.
  20. Hello, Here is a script that converts a NURBS surface to a wall with components that can be exported to IFC. The wall is an Auto Hybrid object made up of 3D Solids that match the thicknesses and attributes of the components of a referenced wall style. CWS_1212_IFC.vwx A couple caveats: Make sure that wall style names do not have a single or double quotation symbol in the name - it will get misinterpreted by the String Node. Also, if your base surface is an Interpolated Surface, use the tool in the 3D Power Pack - Rebuild NURBS... - to convert it to a standard NURBS surface.
  21. Version 4.0.0

    111 downloads

    This is a Marionette Object that downloads weather data from the internet based on the address/location you enter into the OIP. You must have a valid internet connection to use this MO. There will be more weather analysis graphs to come! Here is a video that shows how the Wind Rose works: Wind Rose Video.mp4
  22. Hello All - I have been working on some weather analysis graphs in Marionette and here is the first - a Wind Rose. This Wind Rose downloads weather data from the internet and builds a graph (it saves the data to your User Folder). Once it downloads the data, the information is available offline, but every time you run it, it must go to the internet to find the latitude and longitude of the location you type in. So when using this, always make sure you have a valid internet connection! Here is a quick video to show you how it works. (File will be in the next post)
  23. Hi, All of my custom nodes I now have in a series of separate files that I have placed in the favorites section of the resource manager. They are not in the default node library, but they are still searchable in the resource manager. Attached is a screen shot that shows what the RM looks like for me. You don't have to have a ton of separate files, that is just how I have it set up. All of these files are in my User Folder. -Sarah
  24. I added a few text nodes and a Remap Domain node to your definition. If you need to change text font and size you can use the "Set Character Properties" node in the "Objects - String & Text" category. Pipe Labeling_sb.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...