What i want to do is, I have a CAD file in which there are room tags as blocks. I am gonna use their locations to create Rooms in Revit and give its attributes as parameters. I have seen a similar topic in which someone asked whether if we are able to create rooms in grasshopper or not. There havent been any improvements since then.
My question is when will we be able to create Rooms using Grasshopper?
that RIR component is not available OOTB yet. in the mean time you could create your own custom c# node
as shown and as attached here … this should get you started …with x,y as input. you would need to make sure each x,y is within the room. and add the correct assemblies. this was in Revit 2020
Thanks for taking time to create the script. I had a problem with the location of points. I don’t know why but looks like i have to divide x and y coordinate values with 30 or 40 to get the points on the right spot. Is that a unit issue? Because when I don’t do it, points get located way out of their intended locations.
Ahh yes. Revit API internal Units is Decimal Feet
so you would need to convert them before the input ports OR you could modify the code.
Does this help?
hello,
I’m trying to create a room with your node and Grasshopper hangs. I’m using Revit 2022.
Error (CS0246): No se puede encontrar el tipo o el nombre de espacio de nombres ‘Autodesk’ (¿falta una directiva using o una referencia de ensamblado?) (line 14)