Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.
SOLVED!

Volume calculation label for House Model

jc4d
Expert

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

Sorry I forgot all about it.

 

BarryKelly_0-1687335031047.png

 

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.

 

BarryKelly_1-1687335922707.png

 

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'.

 

BarryKelly_2-1687336451257.png

 

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

View solution in original post

11 REPLIES 11
Barry Kelly
Moderator

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.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
jc4d
Expert

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?

jc4d_0-1686813616836.png


Juan.

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.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
jc4d
Expert

Yes it is.

jc4d_0-1686817377739.png

 

Here is the Schedule:

jc4d_1-1686817425673.png

Here is the criteria:

jc4d_2-1686817487770.png


I hope these are the things you asked 😅

 

Juan.

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.

 

BarryKelly_0-1686818752603.png

 

So in your label if you use 'Net Volume' it should work.

 

BarryKelly_1-1686818833272.png

 

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
jc4d
Expert

Thank you, it is pretty strange, yes.

What lable are you using?. I'm still unable to display the volume.

jc4d
Expert

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 😵

 

jc4d_0-1686820711314.png

 

Juan.

 

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.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
jc4d
Expert

Hello,

 

Sorry to bother, but have you had time to check out this matter?

 

Juan.