Dynamic Area Calculations
-
Hi,
I was looking for ways to dynamically reflect face area. I know if you point the leader tool to a face, the text in the box is going to show the area of the face. However, that number does not update if the area changes.
I was wandering if anyone came across a plug-in that allows to see a live value for face area?Dennis
-
Doesn't the entity info window do what you need?
Chris
-
it does, but only one at a time.
If there was a possibility to have a life reading in multiple locations, that would make a big difference.on top of that, if it was possible to collect them all into a table and make calculations - it would be a rudimentary BIM.
Anyway, maybe someone already made a ruby like that.
-
I have a proto-script
#-----------------------------------------------------------------------
Copyright 2010 TIG
Permission to use, copy, modify, and distribute this software for
any purpose and without fee is hereby granted, provided something the
above copyright notice appear in all copies.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#-----------------------------------------------------------------------
Name:
AreaText.rbDescription:
Adds a submenu to the Plugins menu containing:'Add Area Text'
This lets you add a piece of Text to a Face by Picking it, the text
has a short leader and is placed at the picked point.
The Text is associated with the Face and moves with it, relative to
the Face's bounding-box minimum.
If the Area Text is relocated manually it will 'remember' its new
location relative to its Face's bounding-box minimum.
The area in the Text is formatted in 'sqm' for metric Models and in
'sqft' otherwise. The 'sqm' value is to rounded to 2 dp [1.23], and
the 'sqft' value is rounded to 1 dp [13.2].
By default the Area is named "Area 1:" - with the numerical part
incrementing, so for example it might be "Area 5: 12.34 sqm"
The tool lets you place pieces of Area Text until you press <Esc> or
choose another Tool.
If a Face already has a piece of Area Text associated with it you are
warned and nothing is done.
Later on, if desired you can edit a piece of Area Text as if it were
plain-text - e.g. to give it an associated room name, but if the
associated Face tis changed then the Area Text will automatically
change its text to suit its new area: if you edit the area be sure to
leave a semi-colon [:] in the text as this separates the numerical
area from the Face's 'tag'; do not change the numerical part or its
units suffix: so the correctly formatted 'Office: 12.34 sqm' updates
to 'Office: 12.98 sqm', and even the 'Office 12.34 sqm' will update to
'Office: 12.98 sqm' [because in the absence of a ':' the last space
between the numerical part and the 'tag' will be used as an
alternative delimiter], BUT 'Office-12.34 sqm' will update to
': 12.98 sqm' with NO tag name. You can use ':' inside the face tag
because only the last one is used for the delimiter, BUT this is best
avoided.
The displayed numerical area is always up to date - changing if the
associated Face [or it's parent] is altered in any way.
Chaging the Models units from Metric will update all areas in 'sqft'.
If a Face is erased and it had a piece if Area Text associated with
it then that Area Text is also erased.
Area Text referring to a Face within a Group etc that has been Scaled
will report the area as displayed - i.e. not the original unscaled
face's area.'Add Area Text to Selected'
This is similar to 'Add Area Text' but you first Select some Faces
[other types of Entities in the Selection are ignored], then run this
Tool and pieces if Area Text will be added to any eligible Faces
[i.e. those that do not already have Area Text associated with them].
The Area Text is added to the center of each Face's bounding-box and
moves with the Face.
The Area Text is otherwise exactly as that made with 'Add Area Text''Area Text to CSV'
All Area Texts in the Model are audited to ensure they
are currently up to date.
It then makes a report of them in CSV format, listing them as:
Layer,AreaTag,Area,Perimeter.
Reporting the 'Layer' helps divide the text up so putting your
Area Text onto Layers named 'Level 0', 'Level 1', Roof etc helps you
use the report more easily.
The reported units are sqm/m for metric Models or
sqft/ft otherwise.
Commas [,] in reported Area Text 'tags' are changed into
colons [;] to avoid formatting errors.
If the Model name is XXXX the report is written into
XXXX-AreaTextReport.csv.
The CSV report is made in the Model's folder.
If that report is already open [=error] you are told.
A CSV file is readable by Excel and similar programs.
It can be linked into a XLS file that has 'formatting'
so then if the CSV updates the pre-formatted XLS file
will change to suit.Version:
1.0 201001xx First Issue.
#-----------------------------------------------------------------------it is still under development but should be available shortly - look out for its first release...
-
MAN!!! so much goes into such a simple function. I have never considered that so many different things have to be taken care of. WOW. It all makes sense, but it is like an iceberg - so big under water.
Dennis
-
@dennis_n said:
MAN!!! so much goes into such a simple function. I have never considered that so many different things have to be taken care of. WOW. It all makes sense, but it is like an iceberg - so big under water.
DennisI write a set of instructions BEFORE I make much of the script - that way I know where I'm going and can structure it to suit - I sometimes rewrite the instructions to cover what I find I can't do or even some extras I find I can do BUT at least I have a route-map...
-
Could Modelur be a solution for you? http://forums.sketchucation.com/viewtopic.php?f=80&t=20700
-
seems like Modular is a big chunk to chew on. Have you tried it?
-
Yea - I've been beta testing it earlier.
-
Hi All,
Well its taken me about 8 hours to track down this post with a tool that the amazing Mr TIG is working on.
I'm doing urban design, land use areas, colour coded my material and all I want to do is give each face a unique ID and export its area, id and material to a CSV file.for additional processing.. TIG's prototype to be right on track to what I want t achieve also and can't wait to see the results.. Thanks Again TIG for your exceptional work.
PS, I used to do this very simply in Archicad, in fact we coud next the areas so we were able to create sub-sets of area's also.
Regards
Gary
-
Did you find a solution to this? I am also looking for a way of getting dynamic areas.
Advertisement