Need to change origin for Centroid calculation

Solid.centroid Node shows values from Internal origin of Revit, We need to get centroid values from project base point. Share me a solution to do this?

Please reply this if you know, urgently needed.

image

Query the project for both internal point and PBP, make a vector based on those points, translate your centroid points by this vector.

Thanks for your swift reply. But, i could not grasp what you say as i am a beginner in revit & dynamo as well.

Look at the Coordinates.BasePoint Node, Vector.ByTwoPoints and Geometry.Translate Nodes.

Alternative, the Genius Loci Package has done that kind of work in the" Convert from InternalOriginal Coordinate System" Node. Saving you a few steps. My advice would still be to build it yourself first and understand what you’re doing, even more so for a beginner in both programs.

Give it a try, build your first solution yourself, you can always come back with more questions, but you have to do the work.

1 Like

Extremely thanks for your answer.
This worked well.

I have used below node from this link-

image