Teigha Blog

Find out what's new and more

Teigha Civil’s 3D Feature Line Entity

There are two ways of drawing feature lines: by 2D polyline (OdDbPolyline object) and by 3D polyline (OdDb3dPolyline object). The difference in elevation values affects all site feature edge points. If all elevations are equal, the feature line will be drawn via an OdDbPolyline entity, else via OdDb3dPolyline. In the 2D case, OdDbPolyline consists of eLine and eArc edges of type (AECCSiteEdge::Type). The OdDb3dPolyline entity consists of eLine types only and for arcs interpolation purposes uses tessellation (short, straight line segments) based on explode functionalities.

civil getting started

Attaching and Validating Digital Signatures for .dwg Files

With the new release of Teigha 4.3.1, you can attach digital signatures to your .dwg files and validate a .dwg file’s digital signature. A digital signature indicates who the file came from and the file’s state when the digital signature was created, and validation confirms this information.

getting started Example

Visual Styles in Teigha BIM

Similar to Teigha Drawings, Teigha BIM also has visual styles for rendering elements in a View. However, with Teigha Drawings visual styles are separate elements in the database, and with Teigha BIM visual styles are part of the View.

rvt rfa getting started

Example of Using Multi-User Editing with OdaMfcApp

This article shows how to launch the "multi-user editor."

Note: The xml schema (TD.txds) must be in the same folder as OdaMfcApp.exe.

getting started Example

Overview of AmdtSystemAttribute in Teigha Mechanical

BOM (Bill Of Materials) Manager is a service class that works with BOM tables, part references and BOM rows. All data held by BOM tables is stored in data containers that call data entries. There are three data entry types: DataEntry, DataEntryPart, and DataEntryBlock. DataEntryPart is connected with part references, and DataEntryBlock is connected with components.

mechanical getting started

PDF Export: Using Monochrome and Grayscale Modes

Sometimes it is necessary to export a drawing to the PDF format as a grayscale or monochrome document. The usual way to do it is using plot styles: monochrome.ctb/stb and grayscale.ctb/stb.

pdf export getting started

Creating HoleChartOrigin in Teigha Mechanical

In Teigha Mechanical, HoleChartOrigin is a part of the HoleChart complex entity. Creation of HoleChartOrigin is the first thing to do to make all components of HoleChart work correctly.

mechanical getting started

Creating Table Elements in .dgn Files

Table elements for .dgn files are supported by Bentley® MicroStation V8i Connect Edition and later. The structure and purpose of .dgn table elements are similar to .dwg table elements. A table is a set of cells arranged in rows and columns. The cells in a table are separated by gridlines, and .dgn table element cells can contain only text data.

To create a .dgn table element:

dgn getting started

Introduction to Bill of Materials in Teigha Mechanical

Teigha Mechanical has a service (service class) named BOM Manager that provides an interface for Bill of Materials tables, parts, and components in a drawing. BOM Manager also provides an interface for BOM rows and their data.

mechanical getting started

Getting Started with Teigha Civil using a Simple Test Application

It’s easy to start exploring Teigha Civil using a simple console application named TCTest. Using it, you can see how Teigha Civil opens, saves, and renders files, and more.

civil getting started