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.

ViewViewAttributes Class

The ViewAttributes class contains the attributes for the view.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2021.0.0
public sealed class ViewAttributes : AttributesBase

The ViewViewAttributes type exposes the following members.

  Name Description
Public property DatumLevel
The specified datum level. If ViewPlaneDatumPointForElevations is set to true when DatumLevel is set, the value of ViewPlaneDatumPointForElevations will change to false.
Public property FixedViewPlacing
Defines whether the view placing is fixed (true) or free (false).
Public property LabelPositionHorizontal
The horizontal position of the view label.
Public property LabelPositionVertical
The vertical position of the view label.
Public property LocationBy
Gets or sets the location by attribute. Value is ViewAttributes.LocationByModelOrigin, ViewAttributes.LocationByProjectBasePoint or guid of a Basepoint.
Public property MarkSymbolAttributes
The view mark symbol attributes.
Public property MarkSymbolColor
The view mark symbol color.
Public property PartialProfileLength
Gets or sets the partial profile length.
Public property PartialProfileOffset
Gets or sets the partial profile offset
Public property PourView
Defines whether the view is pour view or not.
Public property ReflectedView
Defines whether the view is reflected or not.
Public property Scale
The view scale.
Public property Shortening
Gets or sets the shortening attributes for the view.
Public property ShowPartOpeningsOrRecessSymbol
Defines whether to show the openings/recess symbol or not.
Public property TagsAttributes
The attributes for view mark tags.
Public property UndeformedView
Defines whether the view is undeformed or not.
Public property UnfoldedView
Defines whether the view is unfolded or not.
Public property ViewExtensionForNeighbourParts
The view extension for neighbour parts.
Public property ViewPlaneDatumPointForElevations
Defines whether the datum point for elevations is view plane based (true) or specified (false). When set to false, the value of DatumLevel is used. When set to true, DatumLevel will be set to 0.0.
  Name Description
Public method IsEqual
Compares the current object with an object of the same type.
(Overrides AttributesBaseIsEqual(Object).)
Public method LoadAttributes
Loads the attributes from the attribute file.
(Overrides AttributesBaseLoadAttributes(String).)
  Name Description
Public fieldStatic member LocationByModelOrigin
A constant string defining that the view location is calculated by model origin.
Public fieldStatic member LocationByProjectBasePoint
A constant string defining that the view location is calculated by project base point.
See Also