Transposing coordinates of geometry using Coordinate.System.Rotate and Geometry.Transform nodes.
What did you expect to see?
Expected to see a list of coordinates relative to Project Base Point instead of Survey Point.
What did you see instead?
Got a list of coordinates that were similar to what I expected. However on a closer look the projected coordinates were off by quite a bit (compared to the coordinates reported by the Annotate->SpotCoordinate tool in Revit.
I set up the transformation manually in Dynamo using these formulas:
x'=xcos(angle)+ysin(angle)+basepointX
y'=-xsin(angle)+ycos(angle)+basepointY
where angle=angle to true north and basepoint is the E/W and N/S coordinates of the Project Base Point
That worked as expected so my problem is solved.
However I suspect something is wrong with the nodes mentioned above.
@aparajit-pratap Can you please take a look at this issue? If you want to delegate this to me and @jnealb, please let us know. We don't know enough about this issue, which is why we want to get you involved.
Dynamo version
1.3.0.0
Revit version
2017.2
Operating system
Windows 10
What did you do?
Transposing coordinates of geometry using Coordinate.System.Rotate and Geometry.Transform nodes.
What did you expect to see?
Expected to see a list of coordinates relative to Project Base Point instead of Survey Point.
What did you see instead?
Got a list of coordinates that were similar to what I expected. However on a closer look the projected coordinates were off by quite a bit (compared to the coordinates reported by the Annotate->SpotCoordinate tool in Revit.
I set up the transformation manually in Dynamo using these formulas: x'=xcos(angle)+ysin(angle)+basepointX y'=-xsin(angle)+ycos(angle)+basepointY
where angle=angle to true north and basepoint is the E/W and N/S coordinates of the Project Base Point
That worked as expected so my problem is solved. However I suspect something is wrong with the nodes mentioned above.