Tekla Open API

Detailed and full API reference helps you master Tekla Open API

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

OperationCreateBentPlateByParts Method (Part, Part, Double)

Modifies the first plate by adding a bend that connects it to the second plate creating a new BentPlate instance based on two parts and a radius. This method can change GUID when using from plug-ins. To keep GUID, use AddLeg(ConnectiveGeometry, ConnectiveGeometry, Double).

Namespace:  Tekla.Structures.Model.Operations
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2018.1.0.0 (2018.1.0.0)
Syntax
public static BentPlate CreateBentPlateByParts(
	Part part1,
	Part part2,
	double radius
)

Parameters

part1
Type: Tekla.Structures.ModelPart
One part used for creating the bent plate.
part2
Type: Tekla.Structures.ModelPart
The other part used for creating the bent plate.
radius
Type: SystemDouble
The target radius for the created cylindrical section.

Return Value

Type: BentPlate
The bent plate object if successful, null otherwise
Exceptions
Exception Condition
ConnectiveGeometryException Thrown if could not create ConnectiveGeometry instance.
ArgumentException Thrown if received unsupported bent plate creation input.
See Also