Rebar By Curve Empty List...Why?

Why is the rebar by curve node returning an empty list?

Why do you send your “curve” input through a List.Create node?
That might be the issue here, as you’re putting it into a “deeper dimension” here.

I have tried all connection approaches, but it still returns ‘empty list’.

Here is the result from my first of many approaches:

Even in this state you’re not sending in a flattened list into the curve input. Maybe try to let the Flattennode be the last modification before you send the list into the Rebar.ByCurve node.

1 Like

If the image below is what you are thinking, then l have tried this approach to.

It makes no sense.

Then I don’t know either, that was just something weird I happened to notice.
I can only tell you that there’s a wrong input somewhere, and considering you’re not getting warnings but an empty list I’m thinking the issue is somewhere with the dimensions of some inputs, but I don’t know the Rebar.ByCurve that well and I also lack oversight in your script.

1 Like

I agree.


This empty list was causing an issue l think:

But do get an error now…

Well, that’s annoying, but it can be fixable. First off all: check if all the inputs are indeed of the correct type, I’m guessing that’s probably fine.
It might be the issue that it doesn’t like that you’re sending in lists into some inputs and single inputs into others. I think the issue might actually be the same as the one I thought the original problem was: meaning you’re sending a list of lists into the curve input, in practica that should mean that the other list inputs should have a similar structure (I think) which the “vector” input at this point certainly does not.

1 Like

Host Element ID was not an Integer. This was the issue.

Many thanks PauLtus

1 Like

Well, that stuff happens.
Please mark whatever comment you think counts as the solution as the solution (might be your own) and maybe leave a like on other helpful comments.