I’m testing the Tekla CIP components via Grasshopper.
I attach a snap…
Component marked as “A” is inserted manually and I tried to get the input layout.
Component marked as “B” is inserted by GH trying to replicate the input structure…I get the component without rebars…and I get that error.
Probably I’ve made some mistakes by setting the input structure. Does any one has any hint?
Plugins can have a required API input sequence that doesn’t correspond to what the plugin would ask the user to pick in the UI, as you’ve probably realized
So like you have done, you can try to figure out what’s needed by using the “Deconstruct component” component on a manually inserted plugin from the Tekla model and check the outputs called “Input types” and “Inputs”.
For the CIP components that’s still not very clear, so here’s what’s required for the Main Bars on an item:
For Crossing Bars you would have a list of the shape points instead of the range, and if the part is a beam or polybeam rather than an item you can omit the direction input (I think).
The dummy point is relevant only if your plugin instance goes through more than 90 or so parts. It might be that the coordinate also needs to be transformed into the coordinate system of the first part, but it doesn’t matter anyway if you’re reinforcing less than the limit with one instance.
Here’s the definition from where the above pic originates for further examination:
I tried Crossing Bars component and I confirm you need a list of shape points instead of the range and you can omit the direction input if you deal with beams or polybeams ( I tried with a curved polybeam).