Guides and Articles

Use this documentation when building your Tekla Structures apps

Code example: Print drawing

Updated: 6 Aug 2020

This code example demonstrates how to set the printing attributes, such as number of copies, orientation, paper size and scaling, and how to print drawing.

First a new GA drawing is created and opened, then the view is rotated and active drawing is printed with the selected attributes.

After downloading the TSOpenAPIExamples package from GitHub (button above), find Print_Drawing_DPM example at \Drawings\Applications\.