It is working now.The format is:

BUTTON "Get Peter Bar" 
        HELPLINE "Switch to the extent of peter's bar" 
        ICON "barcycl" 
        EVENT bar  "icon\Bars\ptur2"

Thanks a lot for your help.
Peter

-----Original Message-----
From: John Coulston [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 8:58 AM
To: Petre Kounov; Smart Cam User Group (E-mail)
Subject: [mfg-smartcam] RE: Tool bar question


/////// ICONBAR.DEF V11.0
//
// This file is intended to contain the complete set
// of available commands for all SmartCAM applications.
// The names of the buttons used in the icon bar are
// defined here. Application specific bar files (e.g. amill.bar, ffm.bar)
// should contain ONLY the BUTTON reference for supplied application
commands.

Iconbar.def is only a reference file not a tool bar.  You will have to edit
your bars manually, not from button add in Smartcam.


Check your ffm.ini file for the location and icon bar that you are calling.
[IconBar]
SetupFile=C:\SM11\SHARED\ICON\ffm.BAR
Defaults=C:\SM11\SHARED\ICON\ICONBAR.DEF
Position=BOTTOM
IconSize=SMALL

If you cant get the bar you want to load, try opening it from the
Utility --> Icon Bar --> Choose.  This will make sure that you have the
proper name and path.

If this does not work send your tool bars and I will take a look at them if
you want.

Here is my complete main tool bar.

BAR "ffm"
        VISIBLE

BUTTON "Get FFMAux Bar"
        HELPLINE "Switch to FreeForm Machining Auxiliary bar"
        ICON "barcycl"
        EVENT bar  "C:\SM11\SHARED\ICON\ffmaux.bar"
SEPARATOR
BUTTON "Open"
BUTTON "Save"
BUTTON "Import"
BUTTON "Export"
SEPARATOR
BUTTON "Dynamic View"
BUTTON "Full"
BUTTON "Window"
BUTTON "Last View"
BUTTON "Show/Mask"
SEPARATOR
BUTTON "Get Result"
BUTTON "Group Delete"
BUTTON "Undo"
BUTTON "Sequence Move"
SEPARATOR
BUTTON "Planner"
BUTTON "Rough"
BUTTON "Show Path"
        ICON "vwspth6"
        EVENT dialog  "VIEWSHWPATH"
BUTTON "Show Cut"
SEPARATOR
BUTTON "Geometry"
BUTTON "Geo Edit"
BUTTON "Order Path"
BUTTON "Transform"
BUTTON "Curves"
SEPARATOR
BUTTON "Toolpath"
BUTTON "Holes/Points"
BUTTON "Layers"
BUTTON "Work Plane"
SEPARATOR
BUTTON "User Elmts"
BUTTON "Mach Events"
BUTTON "Dimensions"
BUTTON "Profiles"
BUTTON "Options"
SEPARATOR
BUTTON "Move"
BUTTON "Modify"
BUTTON "Kill Plane"
SEPARATOR
BUTTON "Code"
BUTTON "Split"
BUTTON "Lead In/Out"
BUTTON "Grp Reverse"
        HELPLINE "Reverse the direction of current group"
        ICON "ordrev"
        DIM GROUP
        EVENT macro  "C:\sm11\shared\icon\grpr.mcl"
BUTTON "Optimize"
BUTTON "Chain"
BUTTON "Prof Start"
BUTTON "Report"
        ICON "usrmacro"
        EVENT macro  "C:\SM11\MILL\JOSRPT\Excel export files\report.mcl"

This is my secondary bar that cycles from the first button on the main bar.

BAR "FFM Aux"
        VISIBLE

BUTTON "Get FFM Bar"
        HELPLINE "Switch to FFM bar"
        ICON "barcycl"
        EVENT bar "C:\SM11\SHARED\ICON\FFM"
SEPARATOR
BUTTON "Normals Flip"
BUTTON "Normals Draw"
BUTTON "Parting Line"

Just trying to put everything I could think of down, hope this helps.

John

CBR Industries, Inc.
CNC Milling & Turning
www.cbrcnc.com

 -----Original Message-----
From:   Petre Kounov [mailto:[EMAIL PROTECTED]]
Sent:   Thursday, September 20, 2001 8:14 AM
To:     'John Coulston'; Petre Kounov; Smart Cam User Group (E-mail)
Subject:        RE: Tool bar question

Thanks for the iconbar.def
I still can not add this button to my bar. Only predefined buttons I have
are
Bar Hide and Bar Save.
I edited my main tool bar the way you suggested, but in this case Smartcam
doesn't want
to load it. Maybe I need to look somewhere else than iconbar.def only?

Peter

-----Original Message-----
From: John Coulston [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 3:44 PM
To: Petre Kounov; Smart Cam User Group (E-mail)
Subject: RE: Tool bar question


Open you main tool bar (C:\SM11\SHARED\ICON\*.bar), edit or add the
following button.  If you have two many icons to fit on one page you might
have to split them in to two bars.


BUTTON "Get FFMAux Bar" <-- name of bar you want to switch to
        HELPLINE "Switch to FreeForm Machining Auxiliary bar"
        ICON "barcycl"
        EVENT bar  "C:\SM11\SHARED\ICON\ffmaux" <--path of bar you want to
switch
to




Your next page of icons need the following button added.


BUTTON "Get FFM Bar"                         <--need to add this to
auxiliary bar in order to switch back to main bar.
        HELPLINE "Switch to FFM bar"
ICON "barcycl"
EVENT bar "C:\SM11\SHARED\ICON\ffm"  <--path of main bar you want to switch
back to

Add this button to each bar in order to cycle through your bars.

HTH
John


CBR Industries, Inc.
CNC Milling & Turning
www.cbrcnc.com

 -----Original Message-----
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]  On Behalf Of Petre Kounov
Sent:   Wednesday, September 19, 2001 1:11 PM
To:     Smart Cam User Group (E-mail)
Subject:


Hi All,

My company switched from SmartCam v.10 to v.11
On v.10 the icon bar has two arrow buttons at the bottom,
which allow to open the "next page" of icons.
In v.11 that option is missing (or I don't know how to
switch it on ) and in order to use all the icons (or icons not currently
shown)
from the icon bar I have to increase the bar size to almost a quarter of my
screen
( kind of a painful procedure when I do this twenty times to complete
one job ).Any ideas how I can use my "old" icon bar?

Thanks in advance

Peter


======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================


======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================
======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================

Reply via email to