Face object in Grasshopper component

Hello
I have a question if is it possible to select many faces objects in Tekla Grasshopper component? I see that in Grasshoper is it possible but in Grasshopper component I can see message than I can select only one face object.

Hi,

You can find the answer here:

Hello Oskar
Thank You for your info but I did as your sugestie but in Tekla Grasshopper component I get message that I can pick only one face.

Let me test now, give me 5 min.

Yes you are correct, seems that you can only select one Surface per Surface Component

image

Thank You for your test.

Seb, can explain why when he wakes up :grinning_face:

Ok.We will wait😁

1 Like

Morning! :hot_beverage:

We’re up against a hard-coded API limitation here.

First, an input object for any Tekla plugin can be either a point or a model object identifier. These are the only types used internally. The input objects can be distributed over a maximum of 10 groups, where each group is a list of either points or identifiers. Often these groups correspond to something the user is asked to pick in the model (“Pick 2 points”, “Pick N objects”, …). The total number of objects allowed in all groups combined is 99.

A face doesn’t have an identifier so it must be treated as a list of boundary points (similar to a polyline), and these lists will occupy one input group each. That’s why it’s only possible to ask for a single face from a Grasshopper face param when it’s used in a Tekla plugin (i.e. the Grasshopper Component). To ask for more you can add up to 10 of these params, but I appreciate that requires you to know how many faces you expect in advance.

If you know of any other Tekla plugin that has circumvented these limitations in some way please let me know and I’ll take a look at how they’ve done it.

Cheers,

Sebastian

1 Like

Ok makes sense, kind of :rofl:.

I don’t have any issues with the above so, have nothing further to add.

Could use pick points together with the geometry pipeline to extract the face/surface closest to each point but not ideal from a user perspective perhaps.

1 Like

Thank You for yours clarifications.

1 Like