I am looking to calculate the leasable room area for Retail and commercial design as per Indian NBC. Basically to calculate the area of the room which will calculate the exterior edge of the exterior walls, centre of Partition walls as they share with other Tenant and Exterior edge of the interior wall. Can I do this using any plugin or Dynamo Script?
I can use different wall types for Revit to identify which is Exterior, Interior and Partition Wall.
Welcome. Please read the community guidelines for posting: How to get help on the Dynamo forums - FAQ - Dynamo
There are two ways I can see this going. I’d probably start with this option:
1. Locate rooms and usage types (tenant or non-tenant).
2. Identify bounding wall types and widths.
3. Extend room boundaries by conditional offset (full width or half width).
4. Assign area value.
But you could also try this:
1. Identify wall types and conditions.
2. Determine offset based on requirements.
3. "Enclose" areas (there will likely be gaps between wall connections).
4. Match enclosure with room and assign area value.
I did try unsuccessfully creating a Dynamo script and Python using Chatgpt. Can you please help me in creating the required script? I have a very basic level of understanding and creating the script.
You need to show us what you’ve tried so far and where you’re running into issues. Again, if you read the post I linked above, you’ll see that this is not a forum for requesting other people to do work for you. We need to see what you’ve been able to put together so we can suggest how you might fix things or move forward.
1 Like
I have tried to use Chatgpt to generate the script on the basis of the solution you provided.
I skipped the locate room part, because I first tried to test if it works for all the rooms (tenants or not). Identifying wall boundaries and Assign a area to new shared paramter “Leasable Area.”
Unfortunately all the python scripts that chatgpt produces runs into some or the other error. I am attaching the script sample as well. I want to avoid the python scripting all together if possible to make it clean without errors.
Being a new user, I am unable to upload the sample script.
ChatGPT is not good at determining Dynamo node structure. It can be helpful at outlining general logic and core python, but it struggle with the specifics of Dynamo and the Revit API.
We can’t even tell you what it’s doing wrong without seeing the code. If you want to avoid python then I recommend searching the library for nodes that deal with rooms and geometry that your process will require.
I’ve elevated your permission levels so you can share files now.
1 Like
Hi, I have tried extracting wall thickness and deriving area in new paramter “Leasable Area”. If you can check and recommend changes. I am getting error while extracting curves and combining them.
Sample Dynamo Script.dyn (66.6 KB)
Sample Project.rvt (5.9 MB)