Show messages:
1-4
…
45-64
65-84
85-104
105-124
125-144
145-164
165-184
…
505-522
From: raytownmike (HOPPER)
I haven't been reading (following) this thread for sometime. Back when I did I was wondering about just how to install the script on my Mac.
Are there many new developments I should be aware of? Thanks I look forward to any responses!
From: Max Smirnov (SMIRNOV)
>>raytownmike
>>..how to install the script on my Mac
Hi,
1. Go to the first post in this thread and download CustomUI.1.0.mac.zip
2. Right-click the MoI app icon and choose "Show package contents". Go into drive_c/moi/ui. Backup CommandBar.htm
3. Extract CustomUI.1.0.mac.zip to drive_c/moi
From: Frenchy Pilou (PILOU)
Can you give me the process for a Script to the Commandbar?
Say i have this one
script:/*Loop Selection*/moi.geometryDatabase.selectLoop();
Seems ... onbuttonclick="Loop Selection">Loop Selection</moi:CommandButton>
don't work ?
From: Max Smirnov (SMIRNOV)
Hi Pilou
code:
<moi:CommandButton icon="..." onbuttonclick="moi.geometryDatabase.selectLoop();">Loop Selection</moi:CommandButton>
From: Frenchy Pilou (PILOU)
Huhu
of course if we must type all the script that is an another story! I could not find that !
Many thanks!
From: Frenchy Pilou (PILOU)
Tested! Bravo!
Button of the BarCommand for a script (not a Command) works very fine!
From: raytownmike (HOPPER)
I get to the final step and not sure what to do because to use the words Extract CustomUI.1.0 what does that mean.
For example: Replace something from existing contents? Sorry
From: Max Smirnov (SMIRNOV)
3. Extract files from CustomUI.1.0.mac.zip to drive_c/moi
From: Michael Gibson
And on the mac to get to the drive_c/moi directory, right-click on the Moi app icon and choose "Show package contents" on the menu that comes up. Then inside of there you will be able to find drive_c/moi.
- Michael
From: raytownmike (HOPPER)
I am find where I need to go c/moi its do I replace current contents add to or what? Sorry
From: Michael Gibson
Hi mike,
> do I replace current contents add to or what? Sorry
You need to add the contents of the zip there. There will be one file that will be overwritten, then rest are added files.
So inside the zip are 3 directories: "objects", "snapshots", and "ui".
The "objects" and "snapshots" directories will be new - MoI does not already have any directories there of those names, so just move both of those there under drive_c/moi so that you now have directories drive_c/moi/objects and drive_c/moi/snapshots.
MoI already has a /ui folder, and you want to merge the contents of this new one onto the existing ui folder, not just completely replace the entire ui folder.
There will be one file /ui/CommandBar.htm that should get overwritten by what is in the .zip - the other things in the .zip should just be added to the ui folder.
Hope that helps!
- Michael
From: raytownmike (HOPPER)
Thanks Michael. Isn't it amazing how much we take installers for granted!
From: raytownmike (HOPPER)
I believe I have followed the instructions properly but I don't see the new interface add-on.
From: Michael Gibson
Hi Mike,
> I believe I have followed the instructions properly but I don't see the new interface add-on.
It should show up as some new things on the bottom toolbar. Make sure that one particular file "CommandBar.htm" has been replaced by the one in the .zip file. If you see no difference in the bottom toolbar it probably means that file has not been updated.
- Michael
From: raytownmike (HOPPER)
I have placed the new CommandBar.htm (Aug 15,2013) 4KB into the Moi/ui folder. Still nothing.
Sorry for all this screwing around.
From: Max Smirnov (SMIRNOV)
Hi Mike,
check please, is Moi/ui/customui folder exists?
From: raytownmike (HOPPER)
customui folder (whole with contents) exists inside ui folder along with CommandBar.htm
Image Attachments:
Screen Shot 2014-02-24 at 4.19.41 PM.png
Screen Shot 2014-02-24 at 4.19.59 PM.png
From: raytownmike (HOPPER)
Also I get this (see image)
Image Attachments:
Screen Shot 2014-02-24 at 4.33.44 PM.png
From: Michael Gibson
Hi Mike, are you possibly using the older v2.52 version of MoI rather than the current v3 beta?
If so try getting the current v3 beta from here:
http://moi3d.com/beta.htm - probably this stuff needs things that are only present in the v3 beta's infrastructure and are not in the older version.
- Michael
From: Max Smirnov (SMIRNOV)
Everything is correct. It should work.
Check the CommandBar.htm. Is there "<script type="text/javascript" src="customui/CustomInit.js">" line?
Try to change it to
code:
<script type="text/javascript" src="moi://ui/customui/CustomInit.js" />
Show messages:
1-4
…
45-64
65-84
85-104
105-124
125-144
145-164
165-184
…
505-522