Error when creating rebar following PolyCurves (continued)

Hi All,

I’m just continuing last year’s thread:

I’ve been experiencing the same issues as described but with other curve shapes. In some cases when the polycurve is straight, I managed to re-create a single curve from the start point and end point, but for polycurves containing more than one line in different directions, “An internal error has ocurred” shows.

Does anyone experienced the same issue and, the most important, already solved that issue?

I’m thinking what @TSF said could be the problem.

I’ll give it a try.

Thanks in advance!

Following, If I don’t re-create a line from a straight polycurve, it shows the error. So I don’t think the issue is due to the bend diameter.

Just to show what I’m trying to do. I’m working on wall displacements, so I manageg to create a bar that recognizes the displacement and detours it’s path:

From my script, I get several polycurves that do what I want, but when it comes to create the rebars, the “An internal error has ocurred” shows. In the image you can see the number of curves contained in the polycurves.

So, if I re-create the polycurves it works and EVEN it creates the rebar for the polycurve which has more than on e curve into.

Concluding, my issue is that I can’t re-create the polycurves. In most of the cases I need the polycurves created to do the job. so:

  • Why is it working in some cases and in others don’t?

Thanks in advance

I gave a try what @Einar_Raknes suggested in another topic:

and I’m now getting this error:

It only works with closed Polycurves? Is this equivalent to DynamoforRebar package “An internal error ocurred”?

What does the “The input PolyCurve must be closed” mean? I thought that my policurves had some gaps that the Polycurve.ByJoinedCurves missed, so I created the same polycurve using Polycurve.ByPoints and got the same result:

Any ideas?

Have you solved this issue, i am facing the same problem .please help me