Use this documentation when building your Tekla Structures apps
Make sure what the current work plane is before using CoordinateSystem class.
When creating a new CoordinateSystem instance, the Origin, AxisX and AxisY are defined based on the current work plane coordinate system.