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.

ViewCreate3dView Method (Drawing, Point, ViewViewAttributes, View)

Generates a new 3d view on the sheet of the given drawing.

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


Type: Tekla.Structures.DrawingDrawing
The drawing in which to create the view.
Type: Tekla.Structures.Geometry3dPoint
The center point of the view.
Type: Tekla.Structures.DrawingViewViewAttributes
The attributes for the view to be created.
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.
Exception Condition
InvalidTypeException Thrown if given drawing is GA drawing.
TeklaStructuresDrawingsApplicationException Thrown if an unknown error occurrs.
See Also