Hey thank you for your response,
Let me explain more:
I want to get start and end points from walls ,Windows , door to create line for Dimension.
but the thing was the windows and walls max point has z>0 that i want to cinvert them to z=o
to create line with them.