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.CreateFrontView(Tekla.Structures.Drawing.Drawing,Tekla.Structures.Geometry3d.Point,Tekla.Structures.Drawing.View.ViewAttributes,Tekla.Structures.Drawing.View@)

ViewCreateFrontView Method

Generates a new front view on the sheet of the given drawing.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public static bool CreateFrontView(
	Drawing drawing,
	Point viewInsertionPoint,
	ViewViewAttributes viewAttributes,
	out View view
)

Parameters

drawing
Type: Tekla.Structures.DrawingDrawing
The drawing in which to create the view.
viewInsertionPoint
Type: Tekla.Structures.Geometry3dPoint
The center point of the view.
viewAttributes
Type: Tekla.Structures.DrawingViewViewAttributes
The attributes for the view to be created.
view
Type: Tekla.Structures.DrawingView
The created view is returned if the creation was successful. Otherwise, null is returned.

Return Value

Type: Boolean
True if the view was created successfully.
Exceptions
Exception Condition
InvalidTypeException Thrown if given drawing is GA drawing.
TeklaStructuresDrawingsApplicationException Thrown if an unknown error occurrs.
See Also