I inserted a 3D linestring from an alignment as a reference and generated a PolyLine from it using the PolyLine node, the problem is when i try to use ProjectCurveOntoPlane and use BaseCS.XYPlane as my Plane, i get an error saying check alignment of the curve, What I'm trying to achieve is to get a 2D projection of my 3D PolyLine.
I'm using GC from OBM.
Hi Wayne,AnikI got it! i created another coordinate system ByUniversalTransform and moved my reference to the origin. I was able to project the curve onto the XY plane.
As others mentioned it can be problematic working too far from origin: The work-around that I use is to have 2 coordinate systems, 1 "baseCS", 1 offset CS. When you reference a file into your design use the offset origin (calculate this so that it brings it central to the model origin). When you are finished processing, you can do the opposite and transform the contents of your design from the offset to the base cs and this will reproject the geometry to real world coordinates ready for exporting. As a side note, one thing to bear in mind is that you should turn off the visibility of the offset CS since having any visible model objects really far apart from each other in Microstation will cause rendering issues, it doesn't affect your design but it will become difficult to zoom in without glitches cause elements to disappear or look inaccurate.
Hope this makes sense, it seems a little cumbersome at first but it will really make a big difference to the accuracy of your design due to floating point rounding errors; the larger the whole number is the less decimal places are available since the decimal "float" is pushed further to the right (we only have allocation size we can work with).Cheers,Ed