Before 2 weeks I shared an issue that I am facing, about Counting the Tiles in ceiling, but nobody replayed and finally today I could solve the problem.
so I thought is a good thing to share with you in case anybody face this problem in future. The dyn that I developed it was based on ideas that I read in forums.
How it works: Once you select the model element (Ceiling) it will create points in grids which you will later use it as grids coordination then it will divide the total surface of the ceiling based on these grids, it was hard before to do all of that in Revit because there is no way that Dynamo can read Ceiling Grids so the workaround for this problem is to create the grids manually as Revit does for Ceiling (http://dynamobim.org/forums/topic/revit-ceiling-grid-lines/) ,
once you divide the surface you can count the tiles, get the area and extract the dimension per tile or different use… .
Find below the updated script and you need to install Testing waters package as well to fix the red nodes error. and just make sure to select ceiling elements. because from your picture i can’t see what the type of the elements you have chosen and can’t read the error.
once you open the script two things you need to set. please check the picture below.
1- select model element (ceiling).
2- Inputs: depends on the ceiling you are choosing for example if the tiles are (2x4) check the picture below, you need to set the input 2 and 4 as you see in my case. check the picture below.
Hi again,
Thanks for a quick reply. I installed the package Testing Waters but I can’t find the updated script that you mentioned “Find below the updated script” so I still get alot of errors.
Great! I trried the updated DYN and did only get one error but the problem now is that it doesn’t seem to be able to identify the object as a ceiling. Can it have something to do with that Im using the metric system in revit?
I tried the latest you sent but it does not seem to work. It recognizes the element as a ceiling now but I get alot of errors instead. Most of the errors are saying “Warning: internal error, please report: Dereferencing a non-pointer”.
Ok now i get it, it was reading your element as surface i believe you made ceiling’s thickness almost zero. anyway i edited the script for you case and find it below should work with you this time.
Now the script works great! But when I save the revit file and open it again the grids seem to be gone, is there any way to save the grids? I would like to be able to save them so I can export and IFC and have them as grids in Solibri.