We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-06-15 07:52 AM
Hello,
Is there a way to use a label to calculate the volume of the built-in house model object?
I'm familiar with GDL is that's the only way to do it.
Juan.
Solved! Go to Solution.
2023-06-21 10:37 AM - edited 2023-06-21 10:38 AM
Sorry I forgot all about it.
It seems that it is calculating (only for NET volume) just the volume of the roof when you have a roof turned on.
With a flat roof and a 5.0 x 5.0 x 5.0 house, I get the correct 125m³.
But turn the roof on and it give just the volume for the roof.
I have no idea why it is doing this.
But as I mentioned, I didn't think you could get volumes for objects unless it is calculated in the object itself (which is not usual).
I did find this in the reference manual, and it conspicuously does not mention volumes for objects.
However, convert it to a morph.
It will actually create 2 morph elements (building and roof).
Union them together and you now get the correct volume (I think - I didn't actually calculate it).
But oddly I couldn't get the 'morph volume by storey'.
Barry.
2023-06-15 08:35 AM
If that object calculates the volume and then sends that result to a parameter, then yes.
You would just label that parameter.
If it doesn't calculate the volume, then you could possibly amend it so it does if you are familiar with GDL.
Otherwise if you convert the objects to morphs, you can get the volume of the morph per storey.
Barry.
2023-06-15 09:20 AM
Thank you, there is something I don't quite get.
I'm using the dimension label which has an option to display volume, but the label is not displaying that information even though, in the schedule the volume is calculated.
Am I missing something here?
Juan.
2023-06-15 09:43 AM
Is that really the 'House object' from the library?
I can't get a volume for any objects in a schedule.
Can you show your schedule criteria and field settings?
Barry.
2023-06-15 10:25 AM
Yes it is.
Here is the Schedule:
Here is the criteria:
I hope these are the things you asked 😅
Juan.
2023-06-15 10:48 AM - edited 2023-06-15 10:48 AM
That is great, thanks.
This is strange.
You are using a 'component' schedule and 'component volumes.
The label can not use 'component. volumes, only 'general' volumes.
That is not the strange bit though.
It seems 'Gross Volume' does not work, but 'Net Volume' does.
I have no idea why.
So in your label if you use 'Net Volume' it should work.
Barry.
2023-06-15 10:58 AM
Thank you, it is pretty strange, yes.
What lable are you using?. I'm still unable to display the volume.
2023-06-15 11:18 AM
Ok, there is something odd going on in here.
Is the volume calculating only the roof and not the whole object?
I got it working but things seems broken somehow.
If I set the roof angle to 0 the volume is 0 (normal thing), but if I make the walls high and the roof is still in 0, the volume is 0 😵
Juan.
2023-06-15 11:36 AM
I was just using the autotext label.
Not sure with the object - that is why I was surprised you got a volume at all.
I didn't think it could calculate volumes of objects.
Maybe just the volume of a bounding box?
I thought that object volumes would have to be calculated in the GDL.
I have just shut down for the day so will look at it later.
Barry.
2023-06-21 09:47 AM
Hello,
Sorry to bother, but have you had time to check out this matter?
Juan.