tt-acm / DynamoForRebar

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

RebarStyle.ByName output wrong? #71

Closed dietervermeulen closed 8 years ago

dietervermeulen commented 8 years ago

image I want to reuse the same rebar style from a selected rebar object. Using the GetParameter.ByName on the rebar object and searching for "Style" returns "0" or "1". This could be translated into "Standard" or "Stirrup/Tie" and then be ported through RebarStyle.ByName to reuse this in the Rebar.ByCurve creation method. Though this last one doesn't accept the input from RebarStyle.ByName. It is not an array problem if you ask me, as it works if you would use the RebarStyle drop down node. Any advise?

dietervermeulen commented 8 years ago

Same problem by the way with the "RebarHookOrientation.ByName". Inputting a string value returns the rebar hookorientation well, but is not usable in the Rebar.ByCurve node.

moethu commented 8 years ago

fixed this with a toString node