Learn about Teigha BIM for RVT/RFA files

Teigha Blog

Find out what's new and more

Using Incremental Saving for .dwg Files

When working with large .dwg files, sometimes a full save can be slow. Teigha has a new incremental file saving feature for .dwg files that saves only modified data, which is faster than a full save for large files that don’t contain a lot of modifications.

Teigha provides two methods to perform the incremental file save:

Visual Basic Developers Use Teigha

Thanks to Teigha.NET, C++ developers are not the only CAD developers using Teigha. And C# is not the only language that can be used to design a Teigha.NET based application. Visual Basic can be used as well.

Earlier versions of Teigha included only C# sample applications in the Teigha.NET archive, but now a Visual Basic sample application is included: VBDwgAppSwigMgd.

Working with raster image wrappers

Raster image wrappers provide a way to modify raster image data without modifying the original raster image. Each raster image wrapper stores a smart pointer to the original image and can get any data from the original image and return it with or without modifications. Actually, by using raster image wrappers we can construct a conveyor for multi-pass image processing.

Teigha Viewer: An Easy Way to Get Familiar with Teigha

If you are new to Teigha and want to try its features without a login and trial license agreement, you can download Teigha Viewer — a free application that illustrates Teigha features. Download Teigha Viewer from this page. Choose the version that fits your requirements (operating system, etc.).

Planar clipping sections generation for custom entities

Teigha vectorization framework provides ability to clip geometry inside rendered scene, using OdGiOrthoClipperEx conveyor node which is always available inside default geometry vectorization conveyor.

Using Teigha BIM and COLLADA to Examine Autodesk® Revit® File Geometry

If you're new to working with Autodesk® Revit® files, looking at a file's geometry can be a good place to start. The file is actually a set of elements that correspond to BIM components such as walls or dimensions.

Example rfa rvt

Notes about using xrefs

Xref (short for eXternal REFerence) is, as the name suggests, a reference to an external .dwg file. External references are often used to split big files into smaller ones; the smaller files are referenced by one “host” file, and the smaller files can be processed by different engineers independently and simultaneously. Other uses of external references are to make block libraries or underlays.

Converting code using OdString and OdAnsiString classes

Sometimes developers want to convert some text from multi-byte coding to Unicode or UTF and back. For this purpose, the OdString and OdAnsiString classes may be used. Starting with Teigha version 4.3.0, CP_UTF_8 coding was included in the supported coding list.

For example, the following array of characters in UTF-8 coding is “Test string” in Russian:

Introducing Teigha Cloud Architecture

One of the new directions for Teigha is the cloud. With Teigha Cloud, people can work with drawings remotely from any place — home, office, restaurant.

Teigha Cloud consists of the following architecture:

Creating raster images from scratch

The OdGiRasterImage interface gives the ability to implement raster image creation from various types of source data in a few steps, and the resulting raster image will be accepted by all image processing functionality, similar to a raster image loaded from file source. In this article, we will create a gradient image from scratch.