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.

Meta.Microsoft.Help.Id
M:Tekla.Structures.Drawing.View.ViewShorteningAttributes.#ctor(System.Boolean,System.Boolean,System.Double,System.Double,Tekla.Structures.Drawing.View.ShorteningCutPartType)

ViewViewShorteningAttributes Constructor (Boolean, Boolean, Double, Double, ViewShorteningCutPartType)

Creates a new view shortening attributes instance with the given parameters.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public ViewShorteningAttributes(
	bool CutParts,
	bool CutSkewParts,
	double MinimumLength,
	double Offset,
	ViewShorteningCutPartType CutPartType = ViewShorteningCutPartType.BothDirections
)

Parameters

CutParts
Type: SystemBoolean
A value indicating whether cut parts are enabled.
CutSkewParts
Type: SystemBoolean
A value indicating whether cut skewed parts are enabled.
MinimumLength
Type: SystemDouble
The minimum cut part length.
Offset
Type: SystemDouble
The space between the cut parts.
CutPartType (Optional)
Type: Tekla.Structures.DrawingViewShorteningCutPartType
The optional cut part direction type.
See Also