[Plugin] Toggle Units
-
thanks bob and tig, now it works perfectly
-
TIG,
I just installed the latest version but I am getting the blank toolbar. In looking through the script I see what looks like the path to the PNGs shown as below. The icon folder is called "toggle_units_icons" but I wonder if it or the script should be modified. Or maybe I'm looking in the wrong place and have a different problem.
cmd = UI;;Command.new(Strings["Decimal"]) { toggle_units(5) } cmd.small_icon = "CD_ICONS/TWEAK/tudec16.png" cmd.large_icon = "CD_ICONS/TWEAK/tudec24.png"
-
@dave r said:
TIG,
I just installed the latest version but I am getting the blank toolbar. In looking through the script I see what looks like the path to the PNGs shown as below. The icon folder is called "toggle_units_icons" but I wonder if it or the script should be modified. Or maybe I'm looking in the wrong place and have a different problem.
cmd = UI;;Command.new(Strings["Decimal"]) { toggle_units(5) } > cmd.small_icon = "CD_ICONS/TWEAK/tudec16.png" > cmd.large_icon = "CD_ICONS/TWEAK/tudec24.png" > >
You are right - I copied the files over without looking at then [I didn't use this tool at all]
I've now updated the zip http://forums.sketchucation.com/viewtopic.php?p=81391#p81391 so that it has the correct folder specified for the icons ! -
Thank you, TIG. I'm amazed that I sorted out the problem correctly. I must be learning from watching you.
-
Hi all.
Sorry for my absence, for now I don't often use SU. Thank you TIG to be here... -
[floatr:2nr8pix2][/floatr:2nr8pix2]Great Plugin Matt. Works great for me. Thank You.
-
Hi all.
Plugin updated with a new tool (Toolbar manager): You can now choose icons you want to display in the toolbar.
Thanks to Thomthom and TIG!LINK: http://forums.sketchucation.com/viewtopic.php?p=81391#p81391
-
Do not hesitate to tell me if something goes wrong... I'm new with HTML and JAVASCRIPT...
-
Hi Mat,
on my mac if I instal this correctly and open SU
Unless, I use the manager, make a change and then quit
SU actually crashes when I close a window and I get a report dialog.
When I remove this ruby, everything works as it should, if put it back again problem returns.
it make no difference if I use or don't use the plugin, only if it's installed.
%(#BF0040)[28 com.google.sketchupfree8 0x004a9316 std::vector<CSketchUpToolbar::CToolBarItem, std::allocatorCSketchUpToolbar::CToolBarItem >::_M_insert_aux(__gnu_cxx::__normal_iterator<CSketchUpToolbar::CToolBarItem*, std::vector<CSketchUpToolbar::CToolBarItem, std::allocatorCSketchUpToolbar::CToolBarItem > >, CSketchUpToolbar::CToolBarItem const&) + 1968
29 com.google.sketchupfree8 0x004aa4ab std::vector<CSketchUpToolbar::CToolBarItem, std::allocatorCSketchUpToolbar::CToolBarItem >::_M_insert_aux(__gnu_cxx::__normal_iterator<CSketchUpToolbar::CToolBarItem*, std::vector<CSketchUpToolbar::CToolBarItem, std::allocatorCSketchUpToolbar::CToolBarItem > >, CSketchUpToolbar::CToolBarItem const&) + 6469
30 libCommonUtils.dylib 0x00a8538a CNotificationCenter::SendNotification(char const*, void*) + 202
31 com.google.sketchupfree8 0x004c1d48 non-virtual thunk to CTool::~CTool() + 3048
32 com.google.sketchupfree8 0x004c27c3 non-virtual thunk to CTool::~CTool() + 5731
33 com.google.sketchupfree8 0x00008335 0x1000 + 29493]john
-
Hum Thomthom told me I had to use 'show' with windows and 'show_modal' with mac... I think this is the problem (because i completely forgot this!). I'll take a look soon thank you!
-
Hi Mat,
It actually seems to be something to do with the preference settings, which SU sends to the .plist on Mac..show
and.show_modal
never cause crashes, it's just the dialog disappears under the main window.
john -
Hi!
See first post to download new version [v2.11].- Mac bug fixed
- Add tool in extensions window.
Big thanks to driven for his help!
LINK: http://forums.sketchucation.com/viewtopic.php?p=81391#p81391
-
-
-
where is the pluggin to download for sketchup 8? i cant find it!:(
-
@ultimato andy said:
where is the pluggin to download for sketchup 8? i cant find it!:(
Attached to the first post of the topic (usually at the bottom)
-
Thank you Gaieus!
-
Great plugin~ I find it easy to switch from mm to M when just to measure the area of a plan now!
-
Hi.
I don't think it's a Lion issue... per sayon the mac the MF_UNCHECKED MF_CHECKED just doesn't work to your advantage, and after a few wrong combinations, it stops switching the screen text, although console says it's working.
if you run it with RC open you can see that your better off re-clicking the currently selected first, to turn the shadow off, then changing. it's a drag, but SU enabled the native buttons behavior to latch and when it also coded to latch....
the mac native SU button code needs to be modified, then we can have buttons the toggles, like 'some' native SU ones that were set up correctly.
as a stop gap I changed the MF_CHECKED to MF_UNCHECKED, which sightly reduces confusion.
john -
Well, no luck here on OS X Lion, with v 2.11
Only the first 4 icons and the 2 setting the precision work; And the greyed out icons stays on when it should go out.
Advertisement