Hi @jeremytammik ,
I've been reading through a lot of these posts regarding Project Location, specifically in regards to Project North and True North. These are some of the posts I've reviewed:
https://thebuildingcoder.typepad.com/blog/2012/03/rotate-true-north.html
https://thebuildingcoder.typepad.com/blog/2009/10/unrotate-north.html
https://knowledge.autodesk.com/support/revit/learn-explore/caas/CloudHelp/cloudhelp/2014/ENU/Revit/f...
https://thebuildingcoder.typepad.com/blog/2010/01/project-location.html
I have a concrete column and I am trying to use the API to determine the location and rotation of the column. As of now, the most accurate way I have been able to do this is to use the Element Location (as a LocationPoint) to get the rotation value. However, the value that is being provided is not rotated with respect to Project North. However, the coordinates that are being provided within the Point ARE in the correct location. I don't understand how this is possible, but regardless I am trying to determine the correct rotation angle of the object. Using your previous posts, I am able to use the ActiveProjectLocation to get a ProjectPosition object which gives me an angle of -49.06 degrees. This is the angle between the Y axis in my model, and true north. While my project north is actually 180 degrees. So, just to be clear, my True North is 139.06 degrees, and my Project North is 180 degrees (in reference to the X axis). When I get the angle of the columns, each one is 90 degrees short of the correct angle. So what I really need is a way to determine the project north direction in reference to the X or Y axis. Or, if I can determine the project north location in reference to true north, that would work as well. However, when I use your parameter method (OST_ProjectBasePoint>get_Parameter(BASEPOINT_ANGLETON_PARAM)) I am getting the same value as the Project Position angle, only non-negative (49.06... which is also very concerning).
Any thoughts?