Page 1 of 1

Help with Multiple Custom Toolbars

Posted: Sun Aug 09, 2009 10:26 pm
by ja2984
Hi all,

I have created 2 custom toolbars of which i would like to share throughout my work place. Heres the problem:

I import Toolbar1 and that shows in the background correctly. So i then attempt to import Toolbar2 but nothing happens. It doesnt even add Toolbar2 to the toolbars list or anything. I've tried importing Toolbar2 first then Toolbar1, same problem, toolbar2 imports but then Toolbar1 wont import.

Seems to not let me import anymore than 1 custom toolbar at anytime. i can create new toolbars ok, but i'd rather not have to re-create my toolbar on everyones computer.

I've searched for quite some time now and have not found a solution.

Thanks for any help,

John

Posted: Sun Aug 16, 2009 7:25 pm
by ja2984
This forum is as useless as Intellicad itself.

Theres a reason its cheaper than AutoCAD, and unfortunately my company doesnt see this.

Posted: Tue Aug 18, 2009 6:33 am
by sln8458
John

The product is cheap, I agree it does lack support :? which is a direct result of its cost, however it IS better than your tone suggests. that aside :wink:

Why are you importing your menus individually & not as a group from a single file?

I have many 'custom' toolbars, most imported from a single file.

Have a read here, it may help, it may not :?: yes it is 2 years old!

What version Icad are you using :?:

Can you post your files here :?:
Then we may be able to comment directly :?:

SteveN

Posted: Tue Aug 18, 2009 5:38 pm
by ja2984
Steve,

Thanks for the response :D
Why are you importing your menus individually & not as a group from a single file?
I'm actually trying to import toolbars not a custom menu.

The reason i have two custom toolbars is because our company has branches in two different states. We share 1 common toolbar between both states which has custom buttons that run vb code and macros. I've added my own toolbar for our branch as we required a few extra tools and utilities that the other branch doesnt use.

Previously i've just added my buttons to the common toolbar and thats worked ok...that is until the other branch decides to update the common toolbar resulting in all my buttons being overwritten.

I want to add my own toolbar with our tools and utilities so that way when we there is an update for the common toolbar i wont lose all my buttons again.
What version Icad are you using
We are currently using ICAD 6.2 and are going to be using 6.6 within the next few months. I've tried to import the two seperate toolbars in both versions and have had no luck.

So basically i need to be able to import the companys "Common" toolbar and then import my toolbar afterwards. If the common toolbar is updated i can just re-import it without affecting my toolbar.

Thanks,

John

Posted: Wed Aug 19, 2009 5:05 am
by sln8458
John

You are correct I import a MENU, but this menu contains ALL of my main custom toolbars with their associated macros. It’s how I did it in Autocad & it worked with Icad.

However I understand why you need to work your way. I have never tried importing toolbars individually, seems like a good time to try :) .
I am currently still using Icad (4.something), it does what I need, but I will download the latest trial & give it a go. Give me a day or so & I’ll post back

SteveN

Posted: Wed Aug 19, 2009 2:20 pm
by sln8458
John

Well I have had a go in version 4.? and it appears to work ok

Image


Well the picture is not clear :? but the 2 toolbars in the top left of the screen have been imported individually

toolbar one (john-1mnu)

***MENUGROUP=SLN_JOHN-MAIN
***TOOLBARS
**TB_JOHN-1
ID_JOHN-1 [_Toolbar("JOHN-FIRST", _TOP, _Show, 1695, 121, 1)]
ID__1 [_Button("ISO-A", "iso-a.bmp", "ICON_24_BLANK")]
ID__2 [_Button("ISO-B", "iso-b.bmp", "ICON_24_BLANK")]
ID__3 [_Button("ISO-C", "iso-c.bmp", "ICON_24_BLANK")]
ID__5 [_Button("ISO-D", "iso-d.bmp", "ICON_24_BLANK")]
ID__6 [_Button("ISO-E", "iso-e.bmp", "ICON_24_BLANK")]
ID__4 [_Button("ISO-F", "iso-f.bmp", "ICON_24_BLANK")]


toolbar two (john-2.mnu)

***MENUGROUP=SLN_JOHN-SECOND
***TOOLBARS
**TB_JOHN-2
ID_JOHN-2 [_Toolbar("JOHN-SECOND", _TOP, _Show, 1695, 121, 1)]
ID__1 [_Button("ISO-A", "iso-a.bmp", "ICON_24_BLANK")]
ID__2 [_Button("ISO-B", "iso-b.bmp", "ICON_24_BLANK")]
ID__3 [_Button("ISO-C", "iso-c.bmp", "ICON_24_BLANK")]
ID__5 [_Button("ISO-D", "iso-d.bmp", "ICON_24_BLANK")]
ID__6 [_Button("ISO-E", "iso-e.bmp", "ICON_24_BLANK")]
ID__4 [_Button("ISO-F", "iso-f.bmp", "ICON_24_BLANK")]



While i did cheat & stole from an existing toolbar & changed a couple of bits it proves that the process works.
Which process did I use?


TOOLS
CUSTOMISE
select TOOLBARS
tick INSERT AS FLYOUT
SELECT IMPORT

tick APPEND TO EXISTING TOOLBARS
find the toolbar mnu to import and select OPEN

REPEAT FOR SECOND TOOLBAR.

I will download the latest available & try again

SteveN

Posted: Wed Aug 19, 2009 7:46 pm
by ja2984
SteveN,

I followed your instructions and i'm still having the same problem. After i have imported the first toolbar, no additional toolbars will import. :(

I tried exporting out an ICAD toolbar, "Inquiry", and tried importing that in after importing in my custom toolbar. Same problem.

I've tried renaming toolbars, incase of a silly naming conflict :lol: , but i'm all out of ideas now.

Another thing, should i be able to drag and drop my buttons from one toolbar to another? When i try to move the buttons it shows a folder icon with an "x" in the corner :?

Thanks,

John

Posted: Wed Aug 19, 2009 8:05 pm
by ja2984
SteveN,

You'd be pleased to know i just figured it out.

I opened the toolbars in Notepad to view the "Code" of my menu files. I noticed both my menu files had the same menugroup: ***MENUGROUP=ICAD.

I only noticed this because i was comparing your menu files to mine and noticed you had "custom" menugroup values. :roll: Did you edit these manually?

I changed the menugroups to different values and hey guess what? they both come in now :oops:

Thanks for all your help, hope you havent lost too much sleep :P

Cheers,

John

Posted: Thu Aug 20, 2009 5:30 am
by sln8458
John

Glad you got it sorted.

"Did you edit these manually?"

Yes, all my menus were created using wordpad as this was the only way in 1984 when I started with autocad :shock: was it wordpad or edlin :?: soo many years my memory fades :(

I guess you are using the new GUI interface introduced in/around version 6 (Icad). Something my brain will complain about :twisted:

Don't worry, no lost sleep :D different time zone here in th UK 8)

SteveN

Posted: Thu Aug 20, 2009 10:42 pm
by ja2984
1984...wow that means Autocad is older than me :lol:

I didnt realise it had been around that long :P

Posted: Fri Aug 21, 2009 1:45 am
by sln8458
1984...wow that means Autocad is older than me
Well that must make you an apprentice, so next time you ask a question you'll have to go to the material stores first and ask for "a long weight" or "a left handed screwdriver" :twisted:

SteveN