#16
Hope the screen shots work. From the first one, the menu appears, and when I click on 'Alarms/Indicators' that is when the menu disappears. Really appreciate your help. If the screen shots do not come out, email me your email address and I will send them to you as an attachment. My address is 'pdav@cadsym.com'

Regards


[img]http://Icad%20screen%20shot_002.htm[/img]

#17
Pete

Couldn't see your image.

As I said earier I don't run the latest version of Intellicad, so if anyone sees errors relating to the latest release PLEASE jump in.

Anyway, at a guess you are modifying the pulldown menus ? yes
I stopped modifying the pulldown menus as I had to re-do these with every up-grade/new software release, so I now use 'Toolbars'
as I find it easier to import these independantly.

Bellow is a quick mock-up with 1 toolbar calling 3 imagemenus, I copied & modified one of mine!

While I use toolbars there is no reason for you to follow me, just use the command following the last ' ] ' on each line (does that make any sense??)

What I think you will have to do, is to create a 'mnu' file to import with the 'IMAGE' section from below.

If you use say wordpad, copy & paste everything between the lines ------------------------ but NOT including the lines and save the file as 'electrical.mnu'
ensure you don't have the ' txt ' appended to the end of the file name or you will not see the file later.
Save the file into you Intellicad directory, only here please as there were problems with the ' paths ' not working correctly in early versions of the software.

What I am trying to do is get you to a point where you have the imagemenu on screen......once you get there we can try to move forward.
I know some of the syntax within each of the 3 imagemenus is wrong, because of the way I have created this menu for this exercise,
but we just want to get the imagemenu dialogue on screen .. yes ?


The toolbar is called 'electrical'
with each of the imagemenus called 'elec1' 'elec2' & 'elec3'

Can you import 'toolbar' menus ?? if you have a go make sure you tick APPEND

If it works you should end up with a new toolbar with 3 tool icons, & when you pick anyone of these a blank imagemenu dialogue should appear ( I hope )

--------------------------------------------------------

***MENUGROUP=SLN_electrical
***TOOLBARS
**electrical
ID_electrical [_Toolbar("electrical", _Top, _Show, 2, 1, 1)]
ID_InsertBlock_9 [_Button("Insert Electrical1 Symbols", "elec1.bmp", "ICON_32_DINSER")]^C^C^C(imagemenu "electrical.mnu" "elec1")
ID_InsertBlock_9 [_Button("Insert Electrical2 Section", "elec2.bmp", "ICON_32_DINSER")]^C^C^C(imagemenu "electrical.mnu" "elec2")
ID_InsertBlock_9 [_Button("Insert Electrical3 Symbols", "elec3.bmp", "ICON_32_DINSER")]^C^C^C(imagemenu "electrical.mnu" "elec3")





//
// Begin Image Menus
//

***image
**elec1
[Select Weld Symbol BSEN 22553 1995 ]
[weld(600)]^C^C_attdia;off;_insert;600;\(getvar "dimscale");;;;_dimleader;nea;\end;\;;n;_attdia;on;_ddatte;


**elec2
[Select Angle Size ]
[angles(25x25x3)]^c^cinsert;25x25x3;\\;\


**elec3
[Select Hydraulic Symbol ]
[hyd(a)]^c^c_insert;a;\\;\

--------------------------------------------------

As I said earlier, if anyone (John) sees any errors/mistakes or what I have written is total FUBAR then shout

SteveN :wink: