[Plugin] AreaTextTag
-
@arcad-uk said:
TIG, Many thanks for developing this.
I have just downloaded the RBZ and have tried a few variations of tagging but keep getting zero perimeters. The areas are working as expected with simple rectangles and no grouping. Bug or have I missed something?
Update: If I change "Report Surface Area" to Yes then perimeter is reported.
You must apply an area tag directly onto a face.... how the hell is it going to know what face to use if you apply it onto a group or instance ?
So... in the same [edit] context as the face you want to tag pick that face to add an area tag onto it.
If you later export those tags from that context into a CSV file the faces' areas and the faces' perimeters are returned...
The 'surface'=Yes tag is intended for adding area-tags to bound-faces that are 'facets' with hidden/smoothed edges, forming a 'surface' where you want the one area reported for all of them together, getting the perimeter of a 'surface' is much more complex than with a face [in fact it's too complex!]... -
Hi TIG, as per my update I was advising that with "surface" = No then the perimeter is not exported to the CSV which is what I was expecting. I now understand your reasoning and will default to "surface" = Yes.
Just a suggestion, reporting the perimeter in both modes may be more logical to the end user, but you know better than most what can be achieved with the coding.
Thanks again for another great contribution!
-
Can not correctly display units.
-
If the chosen font has no superscript 2 '²' it won't be shown.
What font is used?
Do you get one with other fonts [use the Settings dialog to adjust various aspects of the AreaText tags] ?
It might be your Chinese OS ?
Do you get any error messages in the Ruby Console [I'd expect not, because 3dText simply skips over missing characters in a font's collection].
If you copy paste this [1.23 m²
] into the native 3dText tool's pane, for the same font [Arial?] what gets made ? Does the final '²' appear or not ??
This is what my Arial-Font AreaText tag looks like...
-
I choose Times New Roman, but the display unit does not
-
@guanjin said:
I choose Times New Roman, but the display unit does not
Have you tried my copy/paste suggestion using the native 3dText tool ?
-
Paste the local, show normal
-
It works fine for our western PCs?
As a temporary fix...
Edit the main .rb file inside this tool's subfolder using Notepad.exe.
Find the 4 occurrences of the text
.gsub(/2/,"²")
and change it to read
.gsub(/2/,"2")
then you will get
1.23 m2
instead of the intended [but failing]
1.23 m²
which whilst not perfect it is better.
If you would prefer
1.23 m^2
then change the replacement text
.gsub(/2/,"2")
to be
.gsub(/2/,"^2")
-
Thank you, of TIG: has been resolved, thanks again!
-
got it, thanks share
-
hi, was wondering if this plugin will / could, extract or copy an atrribute's value, when inserted into a block with attributes?
-
It reports the area of the face it's 'attached' to.
The face/tag need to be in the same context.
It doesn't 'report attributes'.
There are other tools that do that, but you need to be somewhat clearer in your question... -
Thank you, I am finding all of this really helpful.
I searched through the chain and don't think that this has been addressed yet. I am wondering if it is possible to input two text entries per tag. For example, "room #" and "department" both associated with the same square footage, so when exported, you have two text columns per sf which can be sorted accordingly.
Thanks in advance!
-
Hi,
Would it be possible to select and group a number of faces and give a tag that relates to the total surface area of all selected faces?In addition, would it be possible to produce a similar ruby that totals up the lengths of selected lines/junctions? (not necessarily the perimeter of a face)...this would be icing on the cake for me
Thanks
Graham
-
Hello TIG
Great script !!
Since I am always short in space it would be of great help if it would we possible to have 2-line Text-Tags for instance :Entrance
30 m²alignment options
- Left
Right
Center
Thanks for looking into it
Uli
- Left
-
Hi TIG
Firstly, great plug in - thank you for that
It seems to crash my SU 2015 (Mac version)when installed alongside Twilight renderer.
I have just uninstalled Twilight and everything is cool again.Just thought i'd report the clash in case anyone else has the same problem or if you can fix?
Bill
-
Hi TIG
Firstly - great plugin - thank you for this
Just discovered on SU 2015 on my Mac, that it crashed SU if Twilight is installed at the same time
Don't know if you can fix?
-
Hi tig,
Thank you for this Tag plugin.I modified it quite deeply to make it easier.
Could you give me your mail so that i can send it to you.I would appreciate some critics because i'm not a programmer (but architect) and the way i program is dirty.
Michael
-
Please use the "Private Message" option here to exchange non-public info...
-
Sorry
hmm. I have no access to private messages...Michaël
Advertisement