How do we get the (x,y,z)cordinates for stairs, ramps ?

How do we get the (x,y,z)cordinates for stairs, ramps ?

Anonymous
Not applicable
1,096 Views
0 Replies
Message 1 of 1

How do we get the (x,y,z)cordinates for stairs, ramps ?

Anonymous
Not applicable
How do we get the (x,y,z)cordinates for stairs, ramps ?

using revit application with c#

I used the below code and it give me the location curve of ramps,stairs as null:

Location LOC = tempRamps.Location as Location;
LocationCurve Locrve = tempRamps.Location as LocationCurve;
XYZ p1 = Locrve.Curve.get_EndPoint(0);


Where tempRamps represent for Ramp.
0 Likes
1,097 Views
0 Replies
Replies (0)