Plate chamfers

@sebastian.lindholm YES it works ! I just noticed this Orient option in the TEKLA link component I have installed but not in the one posted in script of this thread (probably belonging to a older version). I’m new to Tekla and I absolutely did not spot it.

image

The workaround was found anyway but this lightens up the canvas and obviously speed up the process.

Thank you indeed to all of those participating to the thread.

This is very useful information, thanks. I never noticed this either.

Just for the sake of completion, is there a way to deactivate this auto-flip when inserting a Plate from C# ? From my experience this happened during the plate.Insert() method without any interaction possible.

Great, it’s just another one of the gotchas when working with interoperability :sweat_smile: There’s a lot to learn from this thread indeed!

1 Like

Hi, a Modify() directly after Insert() should force the points to reset to what was actually provided, like this:

    plate.Insert();
    plate.Modify();  // cancel the auto-orientation
    new Model().CommitChanges();
5 Likes

Hi @sebastian.lindholm ,
So via API we have to create a ContourPlate with the use of ContourPoints. Afterwards we can chamfer the desired ContourPoint index?

1 Like

Hi, if you’re using the API to create the plate itself, then you should be able to set the chamfer for the contour points directly already when defining points for the contour of the plate.

ContourPoint(Point, Chamfer)

So no need to access the points by index afterwards.

If you’ve inserted the plate using the Plate component then yes you need to modify the chamfers afterwards using indexes or similar.

Cheers,

-b

2 Likes

Thank you @sebastian.lindholm ,
What about creating a plate via UI directly in Tekla?
The chamfers need to be applied, after creation of rectangular plate?

Correct, the same as if you’d used the Plate component to create the plate. Just reference in the plate to Grasshopper and connect to your chamfer script.

2 Likes