API Reference

Detailed and full API reference helps you master Tekla development

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

PolycurveGeometryBuilderReplace Method (Int32, LineSegment)

Replaces the geometry at a given index

Namespace:  Tekla.Structures.Geometry3d
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public PolycurveGeometryBuilder Replace(
	int index,
	LineSegment segment
)

Parameters

index
Type: SystemInt32
Index of the geometry to replace
segment
Type: Tekla.Structures.Geometry3dLineSegment
Geometry to insert in place of the existing one

Return Value

Type: PolycurveGeometryBuilder
The builder itself
See Also