Scheduling x, y and z coordinates


is its possible the query x,y and z coordinates of model elements such as structural columns and piles. Add the moment we are using plug-ins for Revit

I was wondering whether this could be done with RhinoInside?

Many thanks,


It sounds possible. If what you are talking about is base points of each elements, I believe it can be achieved.

Hi @mucahitbgoker,

yes the base points that’s what I’m after. Ideally these would be in relation to the survey point but if this cant be done then the projecd point would be ok to.

I tried to use ‘inspect element’ but it doesnt provide the coordinates.

Do you have a better idea?

Many thanks,


I think Rhino’s and Revit’s origin are same in RIR. So it is quite possible with some basic operations. After you filter elements you want to get coordinates of, use “Element Geometry” to get Rhino geometry of those elements. Than use “Volume” node to get centroid of each element. Then you can extract x,y,z coordinate of each point using “Deconstruct”.

RIR is not available for me at the moment. I will share a detailed description of what i meant when I get a chance.

If you could share a sample file, i can try to help you.

Hi @mucahitbgoker,

That sounds like a plan. I’ll give it a go.

Also, Ideally what I’d like to do is feed this data back into Revit so I can use it in schedules.

So I guess once I got x,y,z in Rhino/ GH I need to set up shared parameters for Revit and transfer the data.

As I said I’ll give it a go and keep you updated.

Many thanks again.


If you want to use it in schedules, you can create a x,y,z coordinate parameters in Revit and set those values into respective parameters using “Set Element Parameter”.

But these values are static information so if any elements position changes, you have to redo it.

I have created “XCoordinate, YCoordinate, ZCoordinate” Instance parameters as a Project parameter.

Then I created a basic definition that gets coordinates of base points of columns (centre of green circles in the image below) and applies it into respective columns.

You can find the definition and sample file i used in below. (11.3 KB)
ColumnBasePointCoordinateParameter.rvt (1.9 MB)

1 Like

Nice, i was thinking you would use the Element Location component in RiR.

If you plug a Number component into the Z domain it will convert the Domain to a number for you.

1 Like

ahaha :rofl:, I didn’t know there is a node called “Element Location”. It simplifies it even more :slight_smile:

Many thanks @mucahitbgoker!

Hi @mucahitbgoker and @Rickson,

Thanks again. ‘Element Location’ has indeed simplified the whole process and everything is working ok.

The z value gives me the level at the mid point of the pile which I can work with.

Ultimately what I need is the top of the pile which is easy to work out.

What seems to prove more difficult is to convert the coordinates from Revit’s internal origin (thats the once being used at the moment) to its shared coordinates (survey point)

Unfortunately I’m not making much progress on this. I thought I would be able to use the ‘project location’ component

What I think is missing is the rotation angle between the survey point origin and Revit’s internal origin to work out the correct site coordinates.

Any ideas would be very welcome.

Many thanks,


From what i understand, you need to add these two numbers together. So simple “Addition” should fix your issue?

Hi @mucahitbgoker,

This is where it gets tricky and I’m struggling to get my head around.

I thought the same I just need to add up the numbers and that’s it but it doesnt seem to work.

The values you get from ‘project location’ give you the survey location in relation to Revits internal origin (shown in blue)

But I need it to be the other way round. I need my coordinates in relation to the survey point (shown in orange)

These are the coordinates you get when you use spot coordinates in Revit.

I was hoping there is a way of querying them directly or if need to work them out using the rotation angle between the survey point and the project point (shown in green, this is the same angle you get when you select the project point in Revit.


I hope that all makes sense?

Maybe @eirannejad or @kike you could help out?

This is something that comes up all the time (setting out of piles, columns, wall etc) so any help would be much appreciated.

Many thanks,


1 Like

Could you use the Transform Component to relocate your points then deconstruct from there?

You receive a point from the Revit Internal (based at 0,0,0)
Transform from Internal to Shared, then deconstruct.

1 Like

I think you can extract the centerline of column as a curve and get the endpoints.