Beginner question

Hi everyone,

I’m trying to input a component in Tekla using Grasshopper. In this case, I want to insert the wall component “houten element 57”. Could someone explain how to set this up? i tried this (see image) but i dont know what im doing. Thank you very much


Update:
I achieved some success – this component requires three points to be set: start, end, and height. I provided three input points in Grasshopper, but in Tekla I now have to set nine points before anything is generated, after which it creates three walls. When I use just one input point, the Grasshopper component displays: “System exception: failed to insert component 0.” what is going wrong?

Hi Noud,

The easiest way to understand how you should structure the input it to manually place the component in Tekla, the read it in with a Component and deconstruct it then look at the inputs to figure out what your looking at.

Hope that helps,

Cheers Oskar

1 Like

To make this easier, try the latest update that just got released (1.19):

With this, the “Plugin input” component has a button that will read the input types from any selected plugin in the Tekla model, and then modify the component inputs accordingly. Here’s an example using the Floor Layout plugin:

Additionally this update will handle situations where the plugin expects a list of points and you provide only a single one - previously this would lead to insertion errors. Not sure if that’s what’s going on in your case, as I don’t have your particular wall component to test.

You’ll notice that sometimes the expected inputs that are returned by the setup button will be different from what you are asked to pick in the Tekla UI. It’ll depend on how the particular plugin input logic was developed. Like Oskar says, in that case the “Deconstruct Component” component (the "Input Types " and “Inputs” outputs) on a manually placed plugin can help you figure out what data should go into the inputs.

Cheers,

Sebastian

1 Like

Hi Sebastian,
Thank you so much, I’ve made a lot of progress, but now I’m stuck trying to edit the attributes of a component inside Grasshopper.

I can set a preset for the component, like “Standard” or another custom preset I’ve created, but I can’t seem to modify the individual values further, as shown in the image. I’ve tried many different approaches, but either it’s not possible, or there’s a simple solution that I’m just missing.

To be honest, I don’t really know what I’m doing at this point, so any help would be greatly appreciated! Being able to edit these values is crucial for what I’m trying to build.

Update: I got it working by connecting the panel to Attributes instead of Attributes File. However, I can’t seem to edit the width of an opening, even though I’m able to change other parameters (as shown in the image). Does anyone know what might be causing this?

Hi, I see in the screenshot that the full attribute name is attributes.vnd[1].width or something similar. Try replacing that with vnd[1]\.width (note the backslash before the dot).

The component will remove everything before the dots because those prefixes usually come from some kind of preset file, and if using the full name the correct attribute won’t be set. So here it would simplify and set the attribute width. The correct attribute name is probably vnd[1].width however, so you’d need to escape the second dot with a backslash to retain that as part of the attribute name.

Cheers,

-b

2 Likes

Hi Sebastian,

Thank you so much! Now I can really make this work. Amazing!

Cheers,

1 Like