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.
Want to stay up-to-date with Tekla development information?
Subscribe to Tekla Developer News Check out the newsletter library