Hello Every one,
I am new to Dynamo. But having some programming knowlege in Lisp.
I am working in Revit. We need to take the so much co-ordinates from revit file. Is there any possible to do this. (Just pick the point in revit file and values to be written in the Excel file.)
Please Help in this. Thanks in advance.
Place a basic generic model family repeatedly at the points which you want, then get all the family instances with an all elements of family type node. Then use an Element.Location node you get the points you places them at. Point.X, Point.Y and Point.Z will give you the coordinates. Now just wrote to excel.
Note that you may need to change the values to the project coordinate system and report those values.
Leveraging a coordinate system annotation may prevent the need to change coordinate systems (by reading the coordinate values instead of the location) but when I had to do this (several years back) I personally find those harder to hit the exact locations I wanted.
Hey regading your answer @JacobSmall how can you change the values to the project coordinate system and report those values?
Math works -
Point.ByCoordinates(excelX + projectOffsetX, excelY + projectOffsetY, excelZ + projectOffsetZ);
If you have a rotation, it may be better to use a Geometry.Transform after creating the points.