tt-acm / DynamoForRebar

A Dynamo package for authoring geometrically complex rebar models in Revit 2016.
Other
39 stars 18 forks source link

Rebar.ByCurve typecasting error 'Autodesk.DesignScript.Geometry.Geometry[]' to type 'Autodesk.Revit.DB.Curve'. #79

Closed gaborschnierer closed 5 years ago

gaborschnierer commented 5 years ago

hi again moethu

I hope you don't mind the new issue, maybe its just a quick fix as last time. I'm clueless, because previous versions of Revit (2018) / Dynamo (1.x.x) / DynamoForRebar package had no problem to cast the DS curves into Revit.DB.Curve. And why is the Rebar.ByCurve identifying the input as .Geometry[]? Flattening the list or feeding single curves give the same error.

Warning: Rebar.ByCurve operation falied. Unable to cast object of type 'Autodesk.DesignScript.Geometry.Geometry[]' to type 'Autodesk.Revit.DB.Curve'.

image

moethu commented 5 years ago

thanks for reporting it, the issue is I don't have Revti2019 but I'll organize it

moethu commented 5 years ago

Fixed with latest bin in repo, please download it and overwrite.