Guides and Articles

Use this documentation when building your Tekla Structures apps

Coordinate systems and work planes

Updated: 15 Jan 2018

This guide contains information about coordinate systems and work planes and Tekla Open API classes related to them. 

Coordinate systems can be divided into global and local systems. Both global and local systems are right handed and orthogonal.

Management of current work plane

In most practical cases it makes sense to set the current work plane so that the geometrical calculations are straightforward. The following code example shows how to set the work plane parallel to the beams local coordinate system. This ensures that the behavior and output of the application is not dependent on the beams location or orientation in the 3D model.

Whenever the application changes the current work plane it is a good practice to restore the previous work plane set by user.

// first store current work plane
TransformationPlane currentPlane = myModel.GetWorkPlaneHandler().GetCurrentTransformationPlane();

// set new work plane same as parts local coordinate system 
TransformationPlane localPlane = new TransformationPlane(myPart.GetCoordinateSystem());
// remember to restore current work plane 

Using coordinate systems

See the links below for more information on how to use coordinate systems: