Menu

#10 Plugin for room area sum

open
nobody
New plugin (1)
1
2019-04-20
2015-05-25
olddragon
No

This plugin lists all the rooms you created and calculates their total area. Source code included should you want to make any fine tuning like export to csv.

1 Attachments

Discussion

  • olddragon

    olddragon - 2015-05-27

    Changes:

    • Now it lists the rooms in alphabetical order.
    • Changing the name in the tools menu: Total area of all rooms.
     

    Last edit: olddragon 2015-06-15
  • olddragon

    olddragon - 2015-06-08

    Fixing a Java bug where plugin fails with null room names.

     

    Last edit: olddragon 2015-06-15
  • olddragon

    olddragon - 2015-06-15

    Changes:

    • Attachment was missing at update 2015-06-08. Added it as an edit.
     

    Last edit: olddragon 2015-06-15
  • Nikki Gayle

    Nikki Gayle - 2018-04-16

    Does not have a scroll function, so if you have more rooms than screen size, you can't see all of them, or your total.

     
  • olddragon

    olddragon - 2018-04-16

    I made a quick but somewhat ugly fix. Would you kindly give it a try? I might go and do a proper solution using something more proper than JOptionPane in a week, but I hope this allows you to do what you want.

     
    ❤️
    1
  • Emmanuel Puybaret

    JOptionPane might not be the culprit. If the information you want to display is very long, you can view it in a JScrollPane displayed by JOptionPane methods.

     
  • olddragon

    olddragon - 2018-04-17

    I jsut did that in the patch uploaded yesterday. JTesxArea embedded to a JScrollPane dispalyed by JOptionPane. However, I don't find the standard result visually appealing (worse than previously), and neither it feels right do display messages in something sthat's called an >Option<Pane.
    Anyway, I hope Nikki is fine with it and I'll give a proper read to Swing when I have some time.

     
  • Kent Roberts

    Kent Roberts - 2019-04-20

    Hi,,

    Nice, useful plug-in!

    If I can find time, I will try and add the capability to select the Units desired for displaying the values and perhaps use the Units selected in User Preferences as a default. I'm a software developer using SH3D for the first time. Can you tell me if you know whether it is possible to add a user modifyable property to a plug-in?
    Thanks.

     

    Last edit: Kent Roberts 2019-04-20

Log in to post a comment.

MongoDB Logo MongoDB