I am making a GH algorithm in which I enter bolts with ‘Auto bolt’ Tekla component.
It works all right in following setup: Win7 + Tekla 2017 SP5 + Rhino 6:
GH itself doesn’t produce any error sign. Tekla on the other hand displays something on the bottom command line. Tekla support says this massage cannot be displayed full so I can only try to read what is written in those two partially visible lines:
at AutoBolt.AutoBolt.GetBoltsPlaneFromMainPart()
at AutoBolt.AutoBolt.CreateBolts()
This is because some Tekla plugins like the Auto Bolt component expect a list of objects as input, but can still be used with only a single part as input. In that case the single part should be input as a list of one object, not as just a single object (the TS API is fussy about this). I can’t think of a good way to differentiate between the input modes through Grasshopper though, so we need to force a list by duplicating the input object.
You can’t tell up front what kind of input is required through the API, but one clue you could get is if you examine a manually inserted component and notice the input type is N Objects.