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.

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: 2018.1.0.0 (2018.1.0.0)
Syntax
[SerializableAttribute]
public sealed class StraightDimensionSetAttributes : DimensionSetBaseAttributes

The StraightDimensionSetStraightDimensionSetAttributes type exposes the following members.

Constructors
  Name Description
Public method StraightDimensionSetStraightDimensionSetAttributes Obsolete.
Creates a default straight dimension set attributes instance that loads standard attributes.
Public method StraightDimensionSetStraightDimensionSetAttributes(String) Obsolete.
Creates a straight dimension set attributes instance that loads the specified attributes.
Public method StraightDimensionSetStraightDimensionSetAttributes(ModelObject)
Creates a default straight dimension set attributes instance that loads standard attributes.
Public method StraightDimensionSetStraightDimensionSetAttributes(ModelObject, String)
Creates a straight dimension set attributes instance that loads the specified attributes.
Top
Properties
  Name Description
Public property Arrowhead
The arrowhead attributes of the dimension.
(Inherited from DimensionSetBaseAttributes.)
Public property Color
The color of the dimension line.
(Inherited from DimensionSetBaseAttributes.)
Public property CombinedDimension
Combines the attributes of the dimension.
Public property DimensionType
The dimension type.
Public property Exaggeration
The exaggeration attributes of the dimension.
Public property ExcludePartsAccordingToFilter
Sets the filter to use for excluding parts from the tags. You may query the possible filters using StraightDimensionSet.GetAllExcludePartsAccordingToFilter()
Public property ExtensionLine
The extension line presentation of the dimension.
Public property Format
The format attributes of the dimension.
(Inherited from DimensionSetBaseAttributes.)
Public property IncludePartCountInTag
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 property IncludePartCountInTagA
Indicates whether the part count is included in the tag A.
Public property IncludePartCountInTagB
Gets or sets a value indicating whether the part count is included in the tag B.
Public property IncludePartCountInTagC
Gets or sets a value indicating whether the part count is included in the tag C.
Public property IncludePartCountInTagD
Gets or sets a value indicating whether the part count is included in the tag D.
Public property IncludePartCountInTagE
Gets or sets a value indicating whether the part count is included in the tag E.
Public property IncludePartCountInTagF
Gets or sets a value indicating whether the part count is included in the tag F.
Public property IncludePartCountInTagG
Gets or sets a value indicating whether the part count is included in the tag G.
Public property LeftLowerTag
The left lower dimension tag.
Public property LeftMiddleTag
The left middle dimension tag.
Public property LeftUpperTag
The left upper dimension tag.
Public property Placing
The placing attributes of the dimension.
(Inherited from DimensionSetBaseAttributes.)
Public property RightLowerTag
The right lower dimension tag.
Public property RightMiddleTag
The right middle dimension tag.
Public property RightUpperTag
The right upper dimension tag.
Public property ShortDimension
How short dimensions are shown.
Public property Text
The text attributes of the dimension.
(Inherited from DimensionSetBaseAttributes.)
Public property TransparentBackground
The dimension text background transparency. (transparent/opaque)
(Inherited from DimensionSetBaseAttributes.)
Top
Methods
  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).)
Top
Examples
using Tekla.Structures.Drawing;

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