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.

ViewCreateCurvedSectionView Method

Generates a new curved section view on the sheet and the associated section mark for the specified view.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public static bool CreateCurvedSectionView(
	View view,
	Point startPoint,
	Point middlePoint,
	Point endPoint,
	Point viewInsertionPoint,
	double depthUp,
	double depthDown,
	ViewViewAttributes viewAttributes,
	SectionMarkBaseSectionMarkAttributes sectionMarkAttributes,
	out View curvedSectionView,
	out CurvedSectionMark sectionMark
)

Parameters

view
Type: Tekla.Structures.DrawingView
The view in which to place the section mark.
startPoint
Type: Tekla.Structures.Geometry3dPoint
The starting point of the section mark.
middlePoint
Type: Tekla.Structures.Geometry3dPoint
The middle point of the section mark.
endPoint
Type: Tekla.Structures.Geometry3dPoint
The ending point of the section mark.
viewInsertionPoint
Type: Tekla.Structures.Geometry3dPoint
The point where to create the section view.
depthUp
Type: SystemDouble
The view depth up that the section view should cover.
depthDown
Type: SystemDouble
The view depth down that the section view should cover.
viewAttributes
Type: Tekla.Structures.DrawingViewViewAttributes
The attributes for the section view to be created.
sectionMarkAttributes
Type: Tekla.Structures.DrawingSectionMarkBaseSectionMarkAttributes
The attributes for the section mark to be created.
curvedSectionView
Type: Tekla.Structures.DrawingView
The created section view is returned if the creation was successful. Otherwise, null is returned.
sectionMark
Type: Tekla.Structures.DrawingCurvedSectionMark
The created section mark is returned if the creation was successful. Otherwise, null is returned.

Return Value

Type: Boolean
True if the section view was created successfully.
See Also