PDA

View Full Version : ROOM_AREA not corresponding



Pierre-Nelson NAVARRA
2008-03-18, 09:30 AM
Hi,

I get the ROOM_AREA parameter.
The value not corresponding.
Why?

See attach'ment.

GuyR
2008-03-18, 09:48 AM
By default all data is stored in imperial units. So the units are ft2. You need to convert to m2. Or use ValueString which will return the area in the correct units but will be a string which isn't much use if you want to perform some post processing.

HTH,

Guy

Pierre-Nelson NAVARRA
2008-03-18, 10:20 AM
Ok, it works...thx.

Pierre-Nelson NAVARRA
2008-03-18, 12:56 PM
Hi GuyR,
Do you think, there is a possibility to create an object wich correspond to the sum of all the rooms? Besides, is it possible to have a dynamic object like a sum in a nomanclature?

GuyR
2008-03-19, 12:07 AM
Hi GuyR,
Do you think, there is a possibility to create an object wich correspond to the sum of all the rooms? Besides, is it possible to have a dynamic object like a sum in a nomanclature?

By create an object which is a sum of all rooms, do you mean a Revit object? You could create a project parameter which could store the totals. I'm not sure what you mean by dynamic object in a nomanclature. If you are referring to schedules then yes you can. You can sum room areas now without the API.

Guy

Pierre-Nelson NAVARRA
2008-03-19, 08:08 AM
Yes, I mean a revit object.
Anyway, I created a Room Tag with a shared parameter called "total_area".
I do a for each in all room tag objects and make a total by appartement by filtering the "occupation" parameter. In a room tag, I'd like to set the value of my shared parameter called "total_area". How to?

Done it : Using Set.