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.

Tekla.Structures.Drawing Namespace

The Tekla.Structures.Drawing namespace includes the functionality to insert, select, modify or delete objects inside a Tekla Structures drawing. The namespace also includes possibilites to query different kind of data from the current drawing instance, such as information about the currently selected objects. The namespace offers the functionality through .NET remoting and the COM interface. See the DrawingHandler class to get started with drawings.
Classes
  Class Description
Public class AlongLineOrWithLeaderLineAndParentObjectAlongPartPlacingType
The AlongLineOrWithLeaderLineAndParentObjectAlongPartPlacingType class defines a placing type that places the object using the along line placing as the first option. If there is no room for the first option the fallback option will be used. The fallback option is placing the object with a leader line and rotated to be at the same angle as the connected part.
Public class AlongLineOrWithLeaderLinePlacingType
The AlongLineOrWithLeaderLinePlacingType class defines a placing type that places the object using the along line placing as the first option. If there is no room for the first option the fallback option will be used. The fallback option is placing the object with a leader line.
Public class AlongLinePlacing
The AlongLinePlacing class defines a placing where the object is located and moved along a line defined by two points.
Public class AlongLinePlacingType
The AlongLinePlacingType class defines a placing type that places the object using the along line placing.
Public class AlongPartCenteredPlacingType
The AlongPartCenteredPlacingType class defines a placing type that places the object using the along line placing. The line used will be the part's edge in the center of that line.
Public classCode example AngleDimension
The AngleDimension class defines an angle dimension between two lines. The dimension can be shown by a triangle or in degrees. You can also enter the triangle base length.
Public classCode example AngleDimensionAttributes
The AngleDimensionAttributes class contains the attributes for angle dimensions.
Public classCode example Arc
The Arc class defines an arc that is a two-point line with an optional curve radius. It can be created using either two points and a radius or three points.
Public class ArcArcAttributes
The ArcAttributes class is the attributes class for the arc.
Public class ArrowheadAttributes
The ArrowheadAttributes class handles attributes related to arrowheads of different objects.
Public class AssemblyDrawing
The AssemblyDrawing class is for handling assembly drawings.
Public class AttributesBase
The AttributesBase class is the class that all the main attributes that can load attribute files inherit from.
Public class BaseLinePlacing
The BaseLinePlacing class defines a placing where the object is placed using a line as a reference. This will thus define the object's X-axis along that line.
Public class BaseLinePlacingType
The BaseLinePlacingType class defines a placing type that places the object using the base line placing.
Public class BaseLineWithArrowAtEndPointPlacingType
The BaseLineWithArrowAtEndPointPlacingType class defines a placing type that places the object using the base line placing. The line is drawn and will have an arrow at the end point.
Public class BaseLineWithArrowAtStartPointPlacingType
The BaseLineWithArrowAtStartPointPlacingType class defines a placing type that places the object using the base line placing. The line is drawn and will have an arrow at the start point.
Public class Bolt
The Bolt class contains methods related to bolts. A bolt is a drawing object derived from a model object. It represents a drawing bolt that has a reference to the actual bolt in the model database.
Public class BoltBoltAttributes
The BoltAttributes class is the attributes class for the bolt.
Public class CannotCreateSectionViewFrom3dView
The CannotCreateSectionViewFrom3dView class defines the exception that is thrown when a user tries to create a section view from a 3d view.
Public class CannotDeleteActiveDrawingException
The CannotDeleteActiveDrawingException class defines the exception that is thrown when a user tries to delete a drawing that is active.
Public class CannotGetAttributeForPluginDueToIncorrectTypeException
The CannotGetAttributeForPluginDueToIncorrectTypeException class defines the exception that is thrown when Plugin.GetAttribute is called but the type is incorrect.
Public class CannotGetAttributeForPluginDueToInexistantFieldException
The CannotGetAttributeForPluginDueToInexistantFieldException class defines the exception that is thrown when Plugin.GetAttribute is called but the field does not exist.
Public class CannotGetAttributeForPluginException
The CannotGetAttributeForPluginException class defines the exception that is thrown when Plugin.GetAttribute is called but the attribute cannot be fetched.
Public class CannotInsertDrawingException
The CannotInsertDrawingException class defines the exception that is thrown when a user tries to insert a drawing when another drawing is active.
Public class CannotLoadAttributesException
The CannotLoadAttributesException class defines the exception that is thrown when the loading of attributes failed.
Public class CannotModifyNonActiveDrawingException
The CannotModifyNonActiveDrawingException class defines the exception that is thrown when a user tries to modify a drawing that is not set as active.
Public class CannotPerformOperationDrawingEditorMustBeClosedException
The CannotPerformOperationDrawingEditorMustBeClosedException class defines the exception that is thrown when a user tries to do an operation which requires the drawing editor to be closed.
Public class CannotPerformOperationDrawingIsActiveException
The CannotPerformOperationDrawingIsActiveException class defines the exception that is thrown when a user tries to do an operation which requires that the drawing is not active.
Public class CannotPerformOperationDrawingMustBeActiveException
The CannotPerformOperationDrawingMustBeActiveException class defines the exception that is thrown when a user tries to do an operation which requires that the drawing is active.
Public class CannotPerformOperationDrawingNotUpToDateException
The CannotPerformOperationDrawingNotUpToDateException class defines the exception that is thrown when a user tries to do an operation which requires that the drawing is active.
Public class CannotPerformOperationNumberingNotUpToDate
The CannotPerformOperationNumberingNotUpToDate class defines the exception that is thrown when a user tries to do an operation which requires that numbering is up to date.
Public class CannotSetAttributeForPluginDueToIncorrectTypeException
The CannotSetAttributeForPluginDueToIncorrectTypeException class defines the exception that is thrown when Plugin.SetAttribute is called but the type is incorrect.
Public class CannotSetAttributeForPluginDueToInexistantFieldException
The CannotSetAttributeForPluginDueToInexistantFieldException class defines the exception that is thrown when Plugin.SetAttribute is called but the field does not exist.
Public class CannotSetAttributeForPluginException
The CannotSetAttributeForPluginException class defines the exception that is thrown when Plugin.SetAttribute is called but the attribute cannot be set.
Public class CastUnitDrawing
The CastUnitDrawing class is for handling cast unit drawings.
Public classCode example Circle
The Circle class defines the graphical object circle. A circle can also be hatched.
Public class CircleCircleAttributes
The CircleAttributes class is the attributes class of the circle.
Public class ClosedGraphicObject
The ClosedGraphicObject class is an abstract base class for all closed graphic objects (the circle, the cloud, the polygon and the rectangle).
Public class ClosedGraphicObjectClosedGraphicObjectAttributes
The ClosedGraphicObjectAttributes class is the attributes class for the closed graphic object.
Public classCode example Cloud
The Cloud class defines a cloud that is a polygon with a specific size set for the bulges.
Public class CloudCloudAttributes
The CloudAttributes class is the attributes class for the cloud.
Public class Connection
The Connection class contains methods related to connections. A connection is a drawing object derived from a model object. It represents a drawing connection that has a reference to the actual connection in the model database.
Public class ContainerElement
The ContainerElement class defines container elements. A container element is a mark element that has a frame and contains other mark elements. A container element may also contain container elements to achieve nested frames.
Public classCode example ContainerView
The ContainerView class contains container views that contain other drawing objects, including other views and container views. The drawing sheet is a container view. Container views do not contain drawing representations of model objects.
Public class CurvedDimensionBase
The CurvedDimensionBase class is the base class for radial and orthogonal curved dimensions.
Public class CurvedDimensionOrthogonal
The CurvedDimensionOrthogonal class defines a curved dimension with orthogonal reference lines.
Public class CurvedDimensionRadial
The CurvedDimensionRadial class defines a curved dimension with radial reference points. The dimension text on the line can be either a distance or an angle value.
Public class CurvedDimensionSetBase
The CurvedDimensionSetBase class is the base class for curved dimension sets which are defined by an arc and a point list.
Public class CurvedDimensionSetBaseCurvedDimensionSetBaseAttributes
The CurvedDimensionSetBaseAttributes class contains the attributes for the curved dimensions.
Public class CurvedDimensionSetHandler
The CurvedDimensionSetHandler class contains operations for creating curved dimension sets.
Public class CurvedDimensionSetOrthogonal
The CurvedDimensionSetOrthogonal class defines a curved dimension set with orthogonal reference lines.
Public class CurvedDimensionSetOrthogonalCurvedDimensionSetOrthogonalAttributes
The CurvedDimensionSetOrthogonalAttributes class contains the attributes for managing all the attributes of the curved dimension with orthogonal reference lines.
Public classCode example CurvedDimensionSetRadial
The CurvedDimensionSetRadial class defines a curved dimension set with radial reference lines.
Public class CurvedDimensionSetRadialCurvedDimensionSetRadialAttributes
The CurvedDimensionSetRadialAttributes class contains the attributes for managing all the attributes of the curved dimension with radial reference lines.
Public classCode example CurvedSectionMark
The CurvedSectionMark class defines a drawing object that illustrates a curved section in a specific view. In contrast to straight section mark, the curved section mark can only be inserted as a result of creating a curved section view.
Public class CustomLineType
The CustomLineType class defines the custom line types of the drawing objects.
Public class CustomLineTypeCatalog
The CustomLineTypeCatalog provides accessors to fetch the possible custom line types of drawing objects.
Public class DatabaseObject
The DatabaseObject class is a base class for all drawing objects.
Public classCode example DetailMark
The DetailMark class defines a drawing object that illustrates a detail in a specific view.
Public class DetailMarkDetailMarkAttributes
The DetailMarkAttributes class is the attributes class for detail marks.
Public class DetailMarkSymbolAttributes
The DetailMarkSymbolAttributes class is for detail mark attributes related to the shape of the connecting symbol.
Public class DetailMarkTagsAttributes
The DetailMarkTagsAttributes class contains attributes for detail mark tags.
Public class DimensionBase
The DimensionBase class is the common base class for all the different dimensions.
Public classCode example DimensionLink
The DimensionLink class contains methods related to dimension links. A dimension link is a link between two dimension sets.
Public class DimensionSetBase
The DimensionSetBase class is the common base class for all the different dimension sets. The dimension set base cannot be instantiated.
Public class DimensionSetBaseAttributes
The DimensionSetBaseAttributes class is the base class for all dimension set attributes. The class contains attributes that are common to all dimension sets.
Public class DimensionSetBaseAttributesCombinedDimensionAttributes
The CombinedDimensionAttributes class handles attributes related to the combination of identical parts of dimensions.
Public class DimensionSetBaseAttributesDimensionExaggerationAttributes
The DimensionExaggerationAttributes class handles attributes related to the exaggeration of dimension lines.
Public class DimensionSetBaseAttributesDimensionFormatAttributes
The DimensionFormatAttributes class controls the precision, format and unit of the dimension.
Public class DimensionSetBaseAttributesDimensionPlacingAttributes
The DimensionPlacingAttributes class controls the placing of the dimension.
Public class DimensionSetBaseAttributesDimensionTextAttributes
The DimensionTextAttributes class controls the dimension value representation.
Public class DPMPrinterAttributes
The DPMPrinterAttributes class contains the attributes for controlling the printing.
Public class Drawing
The Drawing class represents a drawing in Tekla Structures.
Public classCode example DrawingEnumerator
The DrawingEnumerator class provides the means to iterate through drawing instances. Drawing enumerators are generated by the drawing handler.
Public classCode example DrawingEnumeratorBase
The DrawingEnumeratorBase class is a base class for DrawingObjectEnumerator and DrawingEnumerator.
Public classCode example DrawingHandler
The DrawingHandler class initializes the interface from a .NET application to Tekla Structures. This object must be created before any actions can be performed on Tekla Structures drawings. When this object is created, it is possible to ask the current active drawing in Tekla Structures, get a list of drawings or create a new drawing.
Public classCode example DrawingLink
The DrawingLink class defines a drawing link object in a drawing. When a drawing link is double clicked, the target drawing is opened.
Public class DrawingObject
The DrawingObject class is an abstract base class for all the objects in the drawing. All drawing objects have a database identifier and belong to some view.
Public class DrawingObjectNoAttributes
The NoAttributes class defines attributes for objects that do not contain any attributes.
Public classCode example DrawingObjectEnumerator
The DrawingObjectEnumerator class provides the means to iterate through drawing object instances. Drawing object enumerators are generated by the container view and they contain drawing objects that are children of the container view instance.
Public classCode example DwgObject
The DwgObject class defines a DWG or DXF object that can be inserted into a drawing.
Public class EdgeChamfer
The EdgeChamfer class contains methods related to edge chamfers. An edge chamfer is a drawing object derived from a model object. It represents a drawing chamfer that has a reference to the actual chamfer in the model database.
Public class EdgeChamferEdgeChamferAttributes
The EdgeChamferAttributes class is the attributes class for the edge chamfer.
Public class ElementBase
The ElementBase class is the abstract base class for all mark elements.
Public class EmbeddedObjectAttributes
The EmbeddedObjectAttributes class contains attributes for embedded objects.
Public class EmbeddedObjectBase
The EmbeddedObjectBase class defines an embedded object in a drawing. The object refers to another file in the file system and its drawing representation is updated when a drawing is opened.
Public class EmbeddedObjectFrame
The EmbeddedObjectFrame class defines the frame object for embedded objects.
Public classCode example Events
The Events class allows the user to register event listeners for drawing events.
Public class FontAttributes
The FontAttributes class contains the basic attributes for fonts.
Public class Frame
The Frame class defines a frame that can be given to objects, including texts. A frame is a box around the object. You can specify the color and shape of the box.
Public classCode example GADrawing
The GADrawing class is for handling general arrangement drawings in Tekla Structures.
Public class GenericAttributesBase
The GenericAttributesBase class is a base class that shared attributes among many classes use.
Public class GraphicObject
The GraphicObject class is the abstract base class for all graphic objects (the arc, the circle, the cloud, the line, the polygon, the polyline and the rectangle).
Public class GraphicObjectGraphicObjectAttributes
The GraphicObjectAttributes class is the attributes class of the graphic object.
Public class GraphicObjectHatchAttributes
The GraphicObjectHatchAttributes class contains hatch attributes for graphic object hatches.
Public classCode example Grid
The Grid class contains methods related to grids. A drawing grid is inserted/removed using the view.
Public class GridGridAttributes
The GridAttributes class is the attributes class for the grid.
Public classCode example GridLine
The GridLine class contains methods related to grid lines. A drawing grid line is always a child of a grid object.
Public class GridLineGridLabel
The GridLabel class contains the grid labels of the grid lines, the text label and the insertion points.
Public class GridLineGridLineAttributes
The GridLineAttributes class is the attributes class for the grid line.
Public class HatchAttributes
The HatchAttributes base class, inherited by ModelObjectHatchAttributes and GraphicObjectHatchAttributes, contains hatch attributes.
Public classCode example Hideable
Accesses the information if this object is hidden or not or if it should be.
Public classCode example HyperLink
The HyperLink class defines a hyperlink object in a drawing. When a hyperlink is double clicked, the default browser is launched.
Public class Image
The Image class defines an image that can be inserted into a drawing.
Public class InsidePartAlongPartOrWithLeaderLinePlacingType
The InsidePartAlongPartOrWithLeaderLinePlacingType class defines a placing type that places the object using the base line placing as the first option. If there is no room for the first option the fallback option will be used. The fallback option is placing the object with a leader line. The base line used is in the middle of the part, aligned with the part.
Public class InsidePartAlongPartPlacingType
The InsidePartAlongPartPlacingType class defines a placing type that places the object using the base line placing. The base line used is in the middle of the part, aligned with the part.
Public class InsidePartHorizontalOrWithLeaderLinePlacingType
The InsidePartHorizontalOrWithLeaderLinePlacingType class defines a placing type that places the object using the base line placing as the first option. If there is no room for the first option the fallback option will be used. The fallback option is placing the object with a leader line. The base line used is in the middle of the part, aligned with the part. In addition the object will be rotated to be horizontal in the drawing.
Public class InsidePartHorizontalPlacingType
The InsidePartHorizontalPlacingType class defines a placing type that places the object using the base line placing. The base line used is in the middle of the part, aligned with the part. In addition the object will be rotated to be horizontal in the drawing.
Public classCode example IntList
The IntList class defines a type safe list of integers.
Public class InvalidAttributesForOperationException
The InvalidAttributesForOperationException class defines the exception that is thrown when an object's attributes are set to something that is not valid for the object.
Public class InvalidPluginPickerInputException
The InvalidPluginPickerInputException class defines the exception that is thrown when UI.Picker is used during a Plugin.Insert call but the previously assigned PluginPickerInput does not correspond to the next UI.Picker call.
Public class InvalidTypeException
The InvalidTypeException class defines the exception that is thrown when a type was not one of the allowed ones.
Public class LayoutAttributes
The LayoutAttributes class contains attributes for controlling the drawing layout.
Public classCode example LeaderLine
The LeaderLine class defines a leader line attached to a parent object, for example a Text or a Mark. The LeaderLine can be modified to add/remove elbow points or to change where it is pointing.
Public class LeaderLineAndParentObjectAlongPartPlacingType
The LeaderLineAndParentObjectAlongPartPlacingType class defines a placing type that places the object with a leader line and rotated to be at the same angle as the connected part.
Public class LeaderLinePlacing
The LeaderLinePlacing class defines a placing where the object is placed attached to a leader line.
Public class LeaderLinePlacingType
The LeaderLinePlacingType class defines a placing type that places the object with a leader line.
Public classCode example Line
The Line class defines a line that is a two-point line with an optional bulge (curve).
Public class LineLineAttributes
The LineAttributes class is the attributes class of the line.
Public class LineTypeAttributes
The LineTypeAttributes class contains basic attributes for lines.
Public class LineTypes
The LineTypes class defines the possible line types that can be used by the drawing objects.
Public classCode example LinkAttributes
The LinkAttributes class contains the attributes for controlling the appearance of a link.
Public class LinkBase
The LinkBase class is the base class for links.
Public class LinkFrameAttributes
The LinkFrameAttributes class contains the attributes for controlling the appearance of a link frame.
Public classCode example Mark
The Mark class represents a mark object that contains a single mark. Several mark objects can be merged into one mark set.
Public class MarkMarkAttributes
The MarkAttributes class defines the mark attributes.
Public classCode example MarkBase
The MarkBase class contains general mark information and can be selected and modified with the general attributes.
Public class MarkBaseMarkBaseAttributes
The MarkBaseAttributes class is the attributes class for the mark base.
Public class MarkSet
The MarkSet class defines mark set objects that contain several mark objects merged to one mark set.
Public class MarkSetMarkSetAttributes
The MarkSetAttributes class is the attribute class for the mark set.
Public class ModelObject
The ModelObject class is an abstract class for all model objects in the drawing side. The model objects of the drawing side contain identifiers of the actual model objects in the model database. The model objects appear and disappear based on current view properties (view size, settings).
Public class ModelObjectHatchAttributes
The ModelObjectHatchAttributes class contains hatch attributes for model object hatches.
Public class MultiDrawing
The MultiDrawing class is for handling multidrawings.
Public class NewLineElement
The NewLineElement class defines a line feed between the desired elements to create multi-row marks.
Public class NormalLineType
The NormalLineType class defines the non-custom line types that can be used by the drawing objects.
Public class OpenGraphicObject
The OpenGraphicObject class is an abstract base class for all open graphic objects (the arc, the line and the polyline).
Public class OpenGraphicObjectOpenGraphicObjectAttributes
The OpenGraphicObjectAttributes class is the attributes class of the open graphic object.
Public class Part
The Part class contains methods related to parts. A part is a drawing object derived from a model object. It represents a drawing part that has a reference to the actual part in the model database.
Public class PartPartAttributes
The PartAttributes class is the attributes class for the part.
Public class PickerInput
The PickerInput class instances can be provided as predefined results of requests through the methods of the UI.Picker class.
Public class PickerInputInterrupt
The PickerInputInterrupt class represents the interruption of picking by the user (e.g. by pressing Escape while requested to pick points). Used for values asked by any UI.Picker.Pick* method where an interrupt happens by the user.
Public class PickerInputNPoints
The PickerInputNPoints class represents a pick of several points in a view. Used for values asked by UI.Picker.PickPoints(StringList Prompts, out PointList PickedPoints, out ViewBase PickedView) and UI.Picker.PickPoints(int NumberOfPicks, StringList Prompts, out PointList PickedPoints, out ViewBase PickedView).
Public class PickerInputObject
The PickerInputObject class represents a pick of an object in a view. Used for values asked by UI.Picker.PickObject(string Prompt, out DrawingObject PickedObject, out ViewBase PickedView).
Public class PickerInputObjectAndAPoint
The PickerInputObjectAndAPoint class represents a pick of an object in a view. It provides both the picked object and the point used to pick the object. Used for values asked by UI.Picker.PickObject(string Prompt, out DrawingObject PickedObject, out ViewBase PickedView, out Point PickedPoint).
Public class PickerInputPoint
The PickerInputPoint class represents a pick of one point in a view. Used for values asked by UI.Picker.PickPoint(string Prompt, out Point PickedPoint, out ViewBase PickedView).
Public class PickerInputPointsWithinAView
The PickerInputPointsWithinAView class is the base class of PickerInput instances that represent a pick of one or more points in a view.
Public class PickerInputThreePoints
The PickerInputThreePoints class represents a pick of three points in a view. Used for values asked by UI.Picker.PickThreePoints(string FirstPrompt, string SecondPrompt, string ThirdPrompt, out Point FirstPickedPoint, out Point SecondPickedPoint, out Point ThirdPickedPoint, out ViewBase PickedView).
Public class PickerInputTwoPoints
The PickerInputTwoPoints class represents a pick of two points in a view. Used for values asked by UI.Picker.PickTwoPoints(string FirstPrompt, string SecondPrompt, out Point FirstPickedPoint, out Point SecondPickedPoint, out ViewBase PickedView).
Public class PickerInputWithinAView
The PickerInputWithinAView class is the base class of PickerInput instances that represent a valid pick of point(s) or object(s) in a view.
Public class PickerInterruptedException
The PickerInterruptedException class defines the exception that is thrown when a user interrupts the picker.
Public classCode example PlacingAttributes
The PlacingAttributes class contains the basic attributes for determining an object's placing.
Public classCode example PlacingBase
The PlacingBase class is the base class for placing types. If you set a user defined Placing to an object it will override the PreferredPlacingType set in the object's attributes. Please note that not all objects accept all types. If you try to use the wrong type it will not be accepted (Insert, Modify will fail). (It is strongly recommended to use the PreferredPlacingTypes to assign new Placings to objects.)
Public class PlacingDirectionAttributes
The PlacingDirectionAttributes class contains the basic attributes for placing directions.
Public class PlacingDistanceAttributes
The PlacingDistanceAttributes class contains the basic attributes for placing distances.
Public class PlacingQuarterAttributes
The PlacingQuarterAttributes class contains the basic attributes for placing quarters.
Public class PlacingTypes
The PlacingTypes class defines the different available placing types. Please note that not all objects accept all types. If you try to use the wrong type it will not be accepted (Insert, Modify will fail).
Public classCode example Plugin
The Plugin class represents a drawing plug-in.
Public class PluginPickerInput
The PluginPickerInput class represents a predefined set of picker inputs that can be provided to a plug-in object. It replaces the interactive selection of points and/or objects by the user when the plug-in is inserted into a drawing through the API.
Public classCode example PointList
The PointList class defines a type safe point list.
Public class PointPlacing
The PointPlacing class defines a placing where the object is placed at one point (the insertion point) without any additional placing options.
Public class PointPlacingType
The PointPlacingType class defines a placing type where the object is placed at one point (the insertion point) without any additional placing options.
Public classCode example Polygon
The Polygon class defines a polygon that is a multipoint line which is connected. It can also have a bulge (curved lines).
Public class PolygonPolygonAttributes
The PolygonAttributes class is the attributes class of the polygon.
Public classCode example Polyline
The Polyline class defines a polyline that is a multipoint line. It can also have a bulge (curved lines).
Public class PolylinePolylineAttributes
The PolylineAttributes class is the attributes class of the polyline.
Public classCode example PourBreak
The PourBreak class contains methods related to pour breaks. A pour break is a drawing object derived from a model object. It represents a drawing pour break that has a reference to the actual pour break in the model database.
Public class PourBreakPourBreakAttributes
The PourBreakAttributes class is the attributes class for the pour break.
Public class PourObject
The PourObject class contains methods related to pours. A pour is a drawing object derived from a model object. It represents a drawing pour that has a reference to the actual pour in the model database.
Public class PourObjectPourAttributes
The PourAttributes class is the attributes class for the pour.
Public class PreferredMarkPlacingTypes
The PreferredMarkPlacingTypes class contains the available preferred mark placing types. These are allowed to be used for marks. However, there are different mark types and not all types can be used by all marks. If you try to use the wrong type it will not be accepted (Insert, Modify will fail).
Public classCode example PreferredPlacingTypeBase
The PreferredPlacingTypeBase class is the base class for the preferred placing type. You can set the PreferredPlacingType in the object's attributes to specify how your object should be placed in the drawing. Please note that not all objects accept all types. If you try to use the wrong type it will not be accepted (Insert, Modify will fail). To use valid types you should use the named defaults (PreferredTextPlacingTypes for Text, PreferredMarkPlacingTypes for Mark, PreferredSymbolPlacingTypes for Symbol).
Public class PreferredPlacingTypes
The PreferredPlacingTypes class contains all the available preferred placing types. Please note that not all objects accept all types. If you try to use the wrong type it will not be accepted (Insert, Modify will fail).
Public class PreferredSymbolPlacingTypes
The PreferredSymbolPlacingTypes class contains the available preferred symbol placing types. These are allowed to be used for symbols.
Public class PreferredTextPlacingTypes
The PreferredTextPlacingTypes class contains the available preferred text placing types. These are allowed to be used for texts.
Public class PrintAttributes
The PrintAttributes class contains the attributes for controlling the printing.
Public class PropertyElement
The PropertyElement class may represent any of the many different mark element types, such as the profile, the material and the name. The property is defined by the name and it is converted into a textual value before the mark is drawn.
Public class PropertyElementPropertyElementType
The PropertyElementType class represents the type of a property element.
Public class PropertyElementPropertyElementTypeBoltMarkPropertyElementTypes
The BoltMarkPropertyElementTypes class represents the available property element types for bolt marks.
Public class PropertyElementPropertyElementTypeChamferMarkPropertyElementTypes
The ChamferMarkPropertyElementTypes class represents the available property element types for chamfer marks.
Public class PropertyElementPropertyElementTypeConnectionMarkPropertyElementTypes
The ConnectionMarkPropertyElementTypes class represents the available property element types for connection marks.
Public class PropertyElementPropertyElementTypeDetailMarkPropertyElementTypes
The DetailMarkPropertyElementTypes class represents the available property element types for detail marks.
Public class PropertyElementPropertyElementTypeDetailViewLabelMarkPropertyElementTypes
The DetailViewLabelMarkPropertyElementTypes class represents the available property element types for detail view label marks.
Public class PropertyElementPropertyElementTypeMergedMarkPropertyElementTypes
The MergedMarkPropertyElementTypes class represents the available property element types for merged marks.
Public class PropertyElementPropertyElementTypePartMarkPropertyElementTypes
The PartMarkPropertyElementTypes class represents the available property element types for part marks.
Public class PropertyElementPropertyElementTypePourMarkPropertyElementTypes
The PourMarkPropertyElementTypes class represents the available property element types for pour marks.
Public class PropertyElementPropertyElementTypeReinforcementMarkPropertyElementTypes
The ReinforcementMarkPropertyElementTypes class represents the available property element types for reinforcement marks.
Public class PropertyElementPropertyElementTypeReinforcementMeshMarkPropertyElementTypes
The ReinforcementMeshMarkPropertyElementTypes class represents the available property element types for reinforcement mesh marks.
Public class PropertyElementPropertyElementTypeSectionMarkPropertyElementTypes
The SectionMarkPropertyElementTypes class represents the available property element types for section marks.
Public class PropertyElementPropertyElementTypeSectionViewLabelMarkPropertyElementTypes
The SectionViewLabelMarkPropertyElementTypes class represents the available property element types for section view label marks.
Public class PropertyElementPropertyElementTypeSurfacingMarkPropertyElementTypes
The SurfacingMarkPropertyElementTypes class represents the available property element types for surfacing marks.
Public class PropertyElementPropertyElementTypeViewLabelMarkPropertyElementTypes
The ViewLabelMarkPropertyElementTypes class represents the available property element types for view label marks.
Public classCode example RadiusDimension
The RadiusDimension class defines a radius dimension that displays the radius of the given arc.
Public classCode example RadiusDimensionAttributes
The RadiusDimensionAttributes class contains attributes to manage all the attributes of a straight dimension.
Public classCode example Rectangle
The Rectangle class defines a rectangle that is a box made of four lines with orthogonal angles.
Public class RectangleRectangleAttributes
The RectangleAttributes class is the attributes class of the rectangle.
Public classCode example RectangleBoundingBox
The RectangleBoundingBox class represents a bounding box for an object, i.e. the surrounding box of the object. The bounding box contains the calculated corner points of the box. The rectangle bounding box is inherited from the axis-aligned bounding box. The AABB also contains methods for getting the center point of the box.
Public class ReferenceModel
The ReferenceModel class represents a reference model object in a drawing.
Public class ReferenceModelReferenceModelAttributes
The ReferenceModelAttributes class contains attributes for reference model objects.
Public class ReinforcementBase
The ReinforcementBase class contains methods related to reinforcements. A reinforcement is a drawing object derived from a model object. It represents a drawing reinforcement that has a reference to the actual reinforcement in the model database.
Public class ReinforcementBaseReinforcementBaseAttributes
The ReinforcementBaseAttributes class is the attributes class for the reinforcement.
Public class ReinforcementBaseReinforcementGroupAttributes
The ReinforcementGroupAttributes class is the base attributes class for ReinforcementGroup.
Public class ReinforcementBaseReinforcementMeshAttributes
The ReinforcementMeshAttributes class is the base attributes class for ReinforcementMesh.
Public class ReinforcementBaseReinforcementSetGroupAttributes
The ReinforcementSetGroupAttributes class is the base attributes class for ReinforcementSetGroup.
Public class ReinforcementBaseReinforcementSingleAttributes
The ReinforcementSingleAttributes class is the base attributes class for ReinforcementSingle.
Public class ReinforcementBaseReinforcementStrandAttributes
The ReinforcementStrandAttributes class is the base attributes class for ReinforcementStrand.
Public class ReinforcementGroup
The ReinforcementGroup class defines a reinforcement group in the drawing.
Public class ReinforcementMesh
The ReinforcementMesh class defines a reinforcement mesh in the drawing.
Public class ReinforcementPulloutElement
The ReinforcementPulloutElement class illustrates the shape and dimensions of a reinforcing bar in a drawing.
Public class ReinforcementSetGroup
The ReinforcementSetGroup class defines a reinforcement set group in the drawing. A model rebar set generates one or more groups of rebars for drawing purposes and each group is represented in a drawing as a reinforcement set group. ModelIdentifier is always zero for the ReinforcementSetGroup.
Public class ReinforcementSingle
The ReinforcementSingle class defines a single (as in not part of a group) reinforcement bar in the drawing.
Public class ReinforcementStrand
The ReinforcementStrand class defines a reinforcement mesh in the drawing.
Public class ReportTemplateElement
The ReportTemplateElement class represents a template in the Tekla Structures template library.
Public classCode example SectionMark
The SectionMark class defines a drawing object that illustrates a straight section in a specific view.
Public class SectionMarkBase
The SectionMarkBase class is a base class for both the SectionMark class and the CurvedSectionMark class.
Public class SectionMarkBaseSectionMarkAttributes
The SectionMarkAttributes class is the attributes class for section marks.
Public class SectionMarkBaseSectionMarkSymbol
The SectionMarkSymbol class is for section mark attributes related to the shape of the connecting symbol.
Public class SectionMarkBaseSectionMarkTagAttributes
The SectionMarkTagAttributes class contains attributes for section mark tags.
Public class SectionMarkBaseSectionMarkTagsAttributes
The SectionMarkTagsAttributes class contains attributes for section mark tags.
Public class SinglePartDrawing
The SinglePartDrawing class is for handling single part drawings.
Public class Size
The Size class contains the width and height properties.
Public class SpaceElement
The SpaceElement class defines a space between the desired elements.
Public class StraightDimension
The StraightDimension class defines straight dimensions.
Public class StraightDimensionStraightDimensionAttributes
The StraightDimensionAttributes class contains the attributes of the straight dimension.
Public class StraightDimensionSet
The StraightDimensionSet class defines a straight dimension set.
Public classCode example StraightDimensionSetStraightDimensionSetAttributes
The StraightDimensionSetAttributes class contains the attributes for managing all the attributes of the straight dimension.
Public class StraightDimensionSetHandler
The StraightDimensionSetHandler class contains operations for creating and modifying straight dimension sets.
Public classCode example StringList
The StringList class defines a type safe string collection.
Public class Surfacing
The Surfacing class contains methods related to surfacings. A surfacing is a drawing object derived from a model object. It represents a drawing surfacing that has a reference to the actual surfacing in the model database.
Public class SurfacingSurfacingAttributes
The SurfacingAttributes class is the attributes class for the surfacing.
Public classCode example Symbol
The Symbol class defines a drawing object that is displayed as a symbol in a drawing. Symbols are located in the environment directory under the folder named "symbols" in .sym files that can contain up to 255 symbols. Symbol files can be created with SymEd. See the Tekla Structures help for more information.
Public class SymbolSymbolAttributes
The SymbolAttributes class contains the attributes for the symbol.
Public class SymbolElement
The SymbolElement class represents a symbol in the Tekla Structures symbol library.
Public class SymbolInfo
The SymbolInfo class holds symbol information: the symbol file and the symbol index in the symbol file.
Public class SymbolLibrary
The SymbolLibrary class is for handling symbol libraries.
Public class TeklaStructuresDrawingsApplicationException
The TeklaStructuresDrawingsApplicationException class defines the base class for all exceptions that can be thrown while using Tekla.Structures.Drawing.
Public class TemplateInfo
The TemplateInfo class holds template information.
Public class Text
The Text class defines a drawing object that can hold a text string and is shown in a drawing.
Public class TextTextAttributes
The TextAttributes class is the attributes class for the text.
Public class TextElement
The TextElement class defines a user-defined text in a mark content.
Public classCode example TextFile
The TextFile class defines a text file object in a drawing.
Public class TextFileTextFileAttributes
The TextFileAttributes class contains the attributes for the text file object.
Public class UnitAttributes
The UnitAttributes class handles attributes related to units and formatting of values.
Public class UserDefinedElement
The UserDefinedElement class represents a user-defined attribute specified by its name. A user-defined element is converted into a textual value before it is drawn.
Public classCode example View
The View class contains methods related to views. Views are views that contain other drawing objects, excluding other views. Views also contain drawing representations of model objects.
Public class ViewViewAttributes
The ViewAttributes class contains the attributes for the view.
Public class ViewViewMarkSymbolAttributes
The ViewMarkSymbolAttributes class contains symbol attributes for view mark tags.
Public class ViewViewMarkTagAttributes
The ViewMarkTagAttributes class contains attributes for view mark tags.
Public class ViewViewMarkTagsAttributes
The ViewMarkTagsAttributes class contains attributes for view mark tags.
Public class ViewViewShorteningAttributes
The ViewShorteningAttributes class sets the shortening attributes for the view. If CutParts is set to true, the other values are applied. If it is false, none of the other values matter.
Public class ViewBase
The ViewBase class is a base class for both the ContainerView class and the View class.
Public class ViewMarkBasicSymbolAttributes
The ViewMarkBasicSymbolAttributes class contains basic attributes for mark symbols.
Public class ViewMarkBasicTagAttributes
The ViewMarkBasicTagAttributes class contains basic attributes for view mark tags.
Public class Weld
The Weld class contains methods related to welds. A weld is a drawing object derived from a model object. It represents a drawing weld that has a reference to the actual weld in the model database.
Public class WeldWeldAttributes
The WeldAttributes class is the attributes class for the weld.
Public classCode example WeldMark
The WeldMark class defines a drawing object that illustrates a weld mark in a specific view.
Public class WeldMarkSeamVisibilityAttributes
The SeamVisibilityAttributes class is the attributes class for the weld seam visibility.
Public class WeldMarkWeldMarkAttributes
The WeldMarkAttributes class is the attributes class for the weld mark attributes.
Interfaces
  Interface Description
Public interface IAxisAlignedBoundingBox
The IAxisAlignedBoundingBox interface is implemented by objects that have an axis aligned bounding box.
Public interface IHasChildren
The IHasChildren interface is implemented by objects that have child objects.
Public interface IHideable
The IHideable interface is used for each object that can be hidden in the drawing.
Public interface IIsEqual
The IIsEqual interface is for comparing objects using the function IsEqual().
Public interface IMovableRelative
The IMovableRelative interface is implemented by objects that can be moved.
Public interface IObjectAlignedBoundingBox
The IObjectAlignedBoundingBox interface is implemented by objects that have an object aligned bounding box.
Public interface IPlacing
The IPlacing interface is for objects that can have different placings.
Public interface IPreferredPlacing
The IPreferredPlacing interface is for objects that can have different preferred placing types.
Public interface IRelatedObjects
The IRelatedObjects interface is implemented by objects that have related objects.
Public interface IResizeable
The IResizeable interface is implemented by objects that can be resized.
Delegates
Enumerations
  Enumeration Description
Public enumeration AngleTypes
The different types for angle dimensions.
Public enumeration ArrowheadPositions
The positions of the arrowheads on the line.
Public enumeration ArrowheadTypes
The arrowhead types.
Public enumeration AutoSizeOptions
Options for controlling how the sheet size is calculated when the SizeDefinitionMode is AutoSize.
Public enumeration BoltRepresentation
The bolt representations.
Public enumeration CastUnitDrawingCastUnitDrawingCreationType
Defines the Cast Unit Drawing Creation type.
Public enumeration DetailMarkDetailMarkAttributesDetailBoundaryShape
The boundary shapes of the detail mark.
Public enumeration DimensionSetBaseAttributesCombineFormats
The combined dimension formats.
Public enumeration DimensionSetBaseAttributesCurvedDimensionTypes
The type of the curved dimension.
Public enumeration DimensionSetBaseAttributesDimensionTextPlacings
The placing types of the dimension value text.
Public enumeration DimensionSetBaseAttributesDimensionTypes
The dimension types.
Public enumeration DimensionSetBaseAttributesDimensionValueFormats
The dimension value formats.
Public enumeration DimensionSetBaseAttributesDimensionValuePrecisions
The value precisions for the dimensions.
Public enumeration DimensionSetBaseAttributesDimensionValueUnits
The units usable with the dimensions.
Public enumeration DimensionSetBaseAttributesExaggerationDirections
The direction of the exaggeration.
Public enumeration DimensionSetBaseAttributesExaggerationOrigins
The origin of the exaggeration.
Public enumeration DimensionSetBaseAttributesExtensionLineTypes
The extension line types.
Public enumeration DimensionSetBaseAttributesFrameTypes
The frame types around the dimension values.
Public enumeration DimensionSetBaseAttributesPlacings
The placing types of the objects.
Public enumeration DimensionSetBaseAttributesShortDimensionTypes
The position of the short dimension value.
Public enumeration DotPrintAreaType
The print area type.
Public enumeration DotPrintColor
Output color mode.
Public enumeration DotPrintOrientationType
The print orientation type.
Public enumeration DotPrintOutputType
The printer output type.
Public enumeration DotPrintPaperSize
The paper size.
Public enumeration DotPrintScalingType
The print scaling type.
Public enumeration DotPrintToMultipleSheet
The print to multiple sheet type.
Public enumeration DrawingColors
The colors used in Tekla.Structures.Drawing.
Public enumeration DrawingHandlerMessageExecutionModeEnum
The message execution modes of Tekla Structures.
Public enumeration DrawingHatchColors
The hatch colors used in Tekla.Structures.Drawing.
Public enumeration DrawingUpToDateStatus
The drawing up to date status.
Public enumeration EmbeddedObjectScalingOptions
The options for controlling the scaling of the objects in the drawing.
Public enumeration EventsDrawingUpdateTypeEnum
The types of drawing update event.
Public enumeration FormatTypes
The available format types.
Public enumeration FrameTypes
The available frame styles around the object.
Public enumeration HideableHiddenFlags
The flag for keeping track of objects hidden status.
Public enumeration HideableShouldBeHiddenFlags
The flag for keeping track if object should be hidden.
Public enumeration LeaderLineLeaderLineTypes
The different types of leader lines available.
Public enumeration LineTypesEnum
The line types (the presentation of the line).
Public enumeration MarkBaseMarkBaseAttributesTextAlignOptions
Enumeration of the possible text alignment values.
Public enumeration MarkSymbolShape
The mark symbol shapes for the detail mark.
Public enumeration PartRepresentation
The part representations.
Public enumeration ReinforcementBaseHookedEndSymbolTypes
The available hooked end symbol types. See Tekla Structures help, "Reinforcement appearance", for more information.
Public enumeration ReinforcementBaseReinforcementRepresentationTypes
The available reinforcement representation types. See Tekla Structures help, "Reinforcement appearance", for more information.
Public enumeration ReinforcementBaseReinforcementVisibilityTypes
The available reinforcement visibility types. Only applies to bar groups and meshes. See Tekla Structures help, "Setting the visibility of reinforcement in drawings", for more information.
Public enumeration ReinforcementBaseStraightEndSymbolTypes
The available straight end symbol types. See Tekla Structures help, "Reinforcement appearance", for more information.
Public enumeration ReinforcementPulloutElementEndSymbols
The shape of the bar ends in the pull-out.
Public enumeration ReinforcementPulloutElementRotation
The rotation of the pull-out.
Public enumeration ScalingOptions
The options for controlling the scaling of the objects in the drawing.
Public enumeration SectionMarkBaseSectionMarkSymbolSymbolShapes
The possible shapes of the section mark symbol.
Public enumeration SectionMarkBaseSectionMarkTagAttributesTagShowOnSide
The values that determine on which side(s) the mark tag text is shown.
Public enumeration SectionMarkBaseSectionMarkTagAttributesTagTextRotation
The mark tag text rotation values.
Public enumeration SizeDefinitionMode
Controls the size definition mode of the drawing sheet. Set the mode to SizeDefinitionMode.SpecifiedSize if you want to force the sheet to a certain size.
Public enumeration SurfacingRepresentation
The surfacing representations.
Public enumeration TagLocation
The mark tag location values.
Public enumeration TextAlignment
The alignment of the text.
Public enumeration Units
The available unit types.
Public enumeration ViewHorizontalLabelPosition
The horizontal label position types.
Public enumeration ViewLabelLineLengthType
The label line length types.
Public enumeration ViewShorteningCutPartType
The vertical label position types.
Public enumeration ViewVerticalLabelPosition
The vertical label position types.
Public enumeration ViewViewTypes
The possible types of views.
Public enumeration WeldRepresentation
The weld representations.