[Plugin] AreaTextTag

Re: [Plugin] AreaTextTag

Postby mills690624 » Mon Jun 11, 2018 2:10 am

Hello TIG

Can you help me add a Area units: "pyeong"?
1(pyeong)=3.305785(m²)

thanks so much
0

mills690624 
 

Re: [Plugin] AreaTextTag

Postby TIG » Mon Jun 11, 2018 1:07 pm

You'll need to do some editing of the RB file in the subfolder TIG-AreaTextTag.rb
Use a plain-text editor like Notepad++ or TextWrangler, with line-numbering displayed...

Note that this will break the signing hash, so it will only load in newer SketchUp versions if the Extension Loading Policy is set to be Unrestricted.

Here are the changes...
#nnn is the line number after which you add the new code, remember that it will change as you insert lines !
The @units checks assume you insert new lines of code after the "m2" ones...
I assume that dividing the m² value by 3.305785 turns it into 'pyeongs' ?
If I am wrong, then just swap the / for a *

#444 insert:
when "pyeong"
area=area*0.00064516 / 3.305785
perim=perim*0.0254
punit="m"

You might want to change the meter perimeter too ?

#732 + 4 ? insert:
when "pyeong"
area=area*0.00064516 / 3.305785
perim=perim*0.0254
punit="m"

You might want to change the meter perimeter too ?

#881 + 8 ? insert:
"pyeong",

#1079 + 9 ? insert:
when "pyeong"
area=area*0.00064516 / 3.305785
perim=perim*0.0254
punit="m"

You might want to change the meter perimeter too ?

#1295 + 13 ? insert:
when "pyeong"
area=area*0.00064516 / 3.305785
perim=perim*0.0254
punit="m"

You might want to change the meter perimeter too ?

#1510+ 17 ? insert:
when "pyeong"
area=area*0.00064516 / 3.305785
perim=perim*0.0254
punit="m"

You might want to change the meter perimeter too ?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] AreaTextTag

Postby Sjors Verhaar » Wed Aug 15, 2018 12:52 pm

Hi Tig,

Thank you for this great plugin. It works fantastic.
Only when I use it in a slightly bigger appartmentbuilding it becomes really slow.
Do you have any suggestions what might be the problem?

Thnx
0

Sjors Verhaar 
 

Re: [Plugin] AreaTextTag

Postby barsaglini » Sat May 16, 2020 2:46 pm

tig, the fact that the plugin does not report objects within groups leaves the report unused, since in sketchup we have the group of everything, imagine creating a floor report, with each room having a group.
That value used by the plugin to write the area, can you put it in a variable in the component? So it would be possible to create a report of everything.
0

barsaglini 
 

Re: [Plugin] AreaTextTag

Postby TIG » Sat May 16, 2020 3:25 pm

I think that Fredo has a similar tool in FredoTools - start here viewtopic.php?p=653927#p653927
1
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Previous


 

Return to Plugins

Who is online

Users browsing this forum: chon, kaiomichiru and 7 guests

Visit our sponsors: