ladybug-tools / butterfly

:butterfly: A light python API for creating and running OpenFoam cases for CFD simulation.
http://ladybug-tools.github.io/butterfly.html
GNU General Public License v3.0
249 stars 72 forks source link

Butterfly for Dynamo #386

Open Shaq72 opened 5 years ago

Shaq72 commented 5 years ago

Hello! I run the outdoor_study.dyn file in Revit 2019 ( as admin) and Dynamo 2.0.2. From the error report of the "Create Butterfly Geometry" I get : "ProtoCore.DSASM.StackValue" Any ideas? Best regards Shahrokh

vinnividivicci commented 4 years ago

I think I found the issue.

Edit the custom node: image

Change the "{" and "}" to "[" and "]" respectively in the meshset input definition: image Should look like this: _meshSet_: int[] = [-1, 512]; Save the node and close and it seems to work. Not sure if I broke something else but for now it's getting past that node at my end.

It's related to the switch from Dynamo 1.0 to 2.0: https://primer.dynamobim.org/09_Dictionaries/9-1_What-is-a-dictionary.html

However, now I'm getting an error in the "Create case from Tunnel", so it didn't get me much farther 😅

metobb commented 4 years ago

Hi!

I had the same issue. I am using student version of Dynamo Revit. Eventhough I have changed "{ }" to "[ ]", I am getting another error in the same node.

Error:

image

What would be the reason for this error?

Thanks in advance!