Teigha Blog

Find out what's new and more

Teigha Publish and Basic Controls

A video article about basic controls, that may be created using Teigha Publish API.

video export getting started

Working with Colors in Teigha PRC

Briefly about the PRC file structure: colors and styles arrays.

prc export Example

Basic Information about using JavaScript in Teigha Publish

The use of JavaScript in the production of .pdf documents allows you to create interactive .pdf documents.

JavaScript scripts can be used to:

publish export getting started

Using the New Measurement Functionality when Exporting to Adobe® .pdf Files

Teigha’s PDF Export functionality now supports accurate measurements of CAD data in exported .pdf files. Let’s look at how it can be used and how it looks in a .pdf file.

pdf Example export

Cross Sections and Views in Teigha PRC

With Teigha PRC it is possible to create named views with or without cross sections. To include a custom view in a .pdf document, you must create a special view object in Teigha PRC and set up a camera for the view.

prc pdf export

Questions and Answers about PDF Export Settings and Plot Settings

There is often a misunderstanding between general plot settings and specific settings for exporting drawings to .pdf files. This can lead to a misunderstanding of how to implement a feature for exporting a drawing, and we also receive suggestions to add functionality to the PDF export settings when that functionality already exists in the general plot settings.

export pdf Example

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

Hatch Types and Exporting to PDF

Sometimes ODA members ask about exporting hatches and why a resulting .pdf file is very slow to open or why the quality of exported hatches is poor. This article explains a few things about hatches and exporting them to PDF.

There are three main types of hatches in .dwg files:

export rendering

Exporting .dwg Files to .pdf Files with PRC Support

With Teigha, you can export a .dwg file to a .pdf file that has PRC support.
The easiest way to see how it works is to use the OdaMfcApp sample application and the steps below.
1. Run OdaMfcApp.
2. Open a .dwg or .dxf file.

export pdf prc

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 export