Automatic frame for an engineering report

A high-quality report is not only about correct calculations. The way the document is designed is also important.

Often, textual technical documentation needs to be framed. It can be the requirements of building codes, the wishes of the customer, or an element of your corporate style.

If you work in a regular text editor, you need to draw such a frame separately and insert it as a background image, for example. This may cause problems with document margins and other artifacts. But is there a way to draw the frame directly in the report, without taking into account any margins and indents?

That's exactly what TechEditor does. To get started, let's use the drawing automation. Enter the "rectangle" command, specify the necessary coordinates, and make sure that the report gets a frame. For these purposes, we use a simple script. Each command of this script draws a graphic primitive or sets the necessary graphic attributes.

Let's make it a little more complicated. For example, let's make sure that the title page of the report does not contain any frames. To do this, let's create a loop that goes through all the sheets of the report except the first one. By default, the script commands draw graphics on all pages of the report. But if you specify the sheet number explicitly, the TechEditor will take it into account. Make sure that the frame is displayed starting from the second sheet.

dystlab-logo4-bg-white1920.png
dystlab-logo4-bg-white1920.png

Technology center Dystlab

We develop digital solutions for engineering companies and design businesses. We advise, research, and help with the automation of calculations, design, and systematization of technical documentation.

innot needed textfoanother not needed text@dystlabdummy text.com

Visa MasterCard | DS.Store

© Copyright 2019-2026 Dystlab™, Ukraine. All rights reserved.
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.