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.

StraightDimensionSetStraightDimensionSetAttributes Class

The StraightDimensionSetAttributes class contains the attributes for managing all the attributes of the straight dimension.
Inheritance Hierarchy
SystemObject
  Tekla.Structures.DrawingAttributesBase
    Tekla.Structures.DrawingDimensionSetBaseAttributes
      Tekla.Structures.DrawingStraightDimensionSetStraightDimensionSetAttributes

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2022.0.13611
Syntax
[SerializableAttribute]
public sealed class StraightDimensionSetAttributes : DimensionSetBaseAttributes

The StraightDimensionSetStraightDimensionSetAttributes type exposes the following members.

Constructors
  NameDescription
Public methodStraightDimensionSetStraightDimensionSetAttributes Obsolete.
Creates a default straight dimension set attributes instance that loads standard attributes.
Public methodStraightDimensionSetStraightDimensionSetAttributes(String) Obsolete.
Creates a straight dimension set attributes instance that loads the specified attributes.
Public methodStraightDimensionSetStraightDimensionSetAttributes(ModelObject)
Creates a default straight dimension set attributes instance that loads standard attributes.
Public methodStraightDimensionSetStraightDimensionSetAttributes(ModelObject, String)
Creates a straight dimension set attributes instance that loads the specified attributes.
Top
Properties
  NameDescription
Public propertyArrowhead
The arrowhead attributes of the dimension.
(Inherited from DimensionSetBaseAttributes.)
Public propertyColor
The color of the dimension line.
(Inherited from DimensionSetBaseAttributes.)
Public propertyCombinedDimension
Combines the attributes of the dimension.
Public propertyDimensionType
The dimension type.
Public propertyExaggeration
The exaggeration attributes of the dimension.
Public propertyExcludePartsAccordingToFilter
Sets the filter to use for excluding parts from the tags. You may query the possible filters using StraightDimensionSet.GetAllExcludePartsAccordingToFilter()
Public propertyExtensionLine
The extension line presentation of the dimension.
Public propertyFormat
The format attributes of the dimension.
(Inherited from DimensionSetBaseAttributes.)
Public propertyIncludePartCountInTag
Gets or sets whether the part count is included in at least one of the tag position, or set part count flag for all tag positions.
Public propertyIncludePartCountInTagA
Gets or sets a value indicating whether the part count is included in the tag A.
Public propertyIncludePartCountInTagB
Gets or sets a value indicating whether the part count is included in the tag B.
Public propertyIncludePartCountInTagC
Gets or sets a value indicating whether the part count is included in the tag C.
Public propertyIncludePartCountInTagD
Gets or sets a value indicating whether the part count is included in the tag D.
Public propertyIncludePartCountInTagE
Gets or sets a value indicating whether the part count is included in the tag E.
Public propertyIncludePartCountInTagF
Gets or sets a value indicating whether the part count is included in the tag F.
Public propertyIncludePartCountInTagG
Gets or sets a value indicating whether the part count is included in the tag G.
Public propertyLeftLowerTag
The left lower dimension tag.
Public propertyLeftMiddleTag
The left middle dimension tag.
Public propertyLeftUpperTag
The left upper dimension tag.
Public propertyPlacing
The placing attributes of the dimension.
(Inherited from DimensionSetBaseAttributes.)
Public propertyRightLowerTag
The right lower dimension tag.
Public propertyRightMiddleTag
The right middle dimension tag.
Public propertyRightUpperTag
The right upper dimension tag.
Public propertyShortDimension
How short dimensions are shown.
Public propertyText
The text attributes of the dimension.
(Inherited from DimensionSetBaseAttributes.)
Public propertyTransparentBackground
The dimension text background transparency. (transparent/opaque)
(Inherited from DimensionSetBaseAttributes.)
Top
Methods
  NameDescription
Public methodIsEqual
Compares the current object with an object of the same type.
(Overrides AttributesBaseIsEqual(Object).)
Public methodLoadAttributes
Loads the attributes from the attribute file.
(Overrides AttributesBaseLoadAttributes(String).)
Top
Examples
using Tekla.Structures.Drawing;

public class Example
{
       public void Example1()
       {
           StraightDimensionSet.StraightDimensionSetAttributes attributes =
               new StraightDimensionSet.StraightDimensionSetAttributes(null, "MyAttributes");
       }
}
See Also