ViewCreateModelView Method

Generates a new model view on the sheet of the given active drawing using given model view id.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
Syntax
public static bool CreateModelView(
	Drawing drawing,
	int modelViewId,
	bool useDrawingAttributes,
	out View view
)

Parameters

drawing
Type: Tekla.Structures.DrawingDrawing
The active drawing in which to create the view.
modelViewId
Type: SystemInt32
The model view id.
useDrawingAttributes
Type: SystemBoolean
True if the drawing level attributes should be used.
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
ExceptionCondition
TeklaStructuresDrawingsApplicationExceptionThrown if an unknown error occurrs.
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next