Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

digilizing tablet menus

Status
Not open for further replies.

pdbqpdbq

Programmer
Joined
Feb 16, 2005
Messages
2
Location
NL
(excuses for my bad english,)

does enyone know how i could manage to replace the tablet-menus within acad.mnu with my own? , whitout making a new file (.MNU),

We have created our own version of autocad (legali ofcourse) it's could tecnocad sinds our compony's name is Technosoft. We use our own tablet-menus, verry different from those load in acad.mnu.

But what we want to acomplish now, is to load the acad.MNU and our ts_tablet.MNU. And use our own tablet-configuration in aotocad (so not the regulair tablet-config.),

I've tried somethings like:
Command: (menucmd "T1=TS_TABLET.TABLET1")
Command: (menucmd "T1=TS_TABLET.TABLET2")

??? Help
 
AutoCAD is pretty good about how to customize itself. Look in the help file.
 
For years I have been using a Hitachi tablet with a 16-button puck. I usually don't edit the TABLET section of the menu. I prefer to use the SCREEN menu. I have found that editing for any customization is done in the acad.mns file. You should be able to find the sections in the acad.mns file labeled ***TABLET1, ***TABLET2, ***TABLET3, and ***TABLET3. If your dizitizer has a puck, you will be able to customize the puck buttons following the ***BUTTONS1 label.

In the acad.mns file, under the label ***SCREEN, I have the following line [Custom]$S=ACAD.WILL. By clicking on Custom it directs AutoCAD to the area labeled **WILL 2. You can do something similar with your custom specfic names.
 
thanx for replies,

I figured it out myself. I wanted to use my own tablet-menus, without changing anything on the acad.MNS/MNU/MNL etc. So now (by swapping) i load acad.mnu and my own ts_tablet thanx to swapping. My own ts_tablet.MNL now looks like this:

;;;=== Tablet Swap Functions ===

(defun ai_tab1 ()
(setq T_Menu (read (ai_popmenucfg "T_Menu")))
(if (= (logand 1 T_Menu) 1)
(progn
(ai_putmenucfg "T_Menu" (itoa (setq T_Menu (- T_Menu 1))))
(if (< (getvar "EXPERT") 4)
(princ ;|ACAD_MNL_4|;"\nAlternate tablet area 1 unloaded.")
)
(menucmd "T1=TS_TABLET.TABLET1")
(if (< (getvar "EXPERT") 1)
(princ ;|ACAD_MNL_5|;"\nThis area is for your personal applications and menu items.\n")
)
)
(progn
(ai_putmenucfg "T_Menu" (itoa (setq T_Menu (+ T_Menu 1))))
(if (< (getvar "EXPERT") 4)
(princ ;|ACAD_MNL_6|;"\nAlternate tablet area 1 loaded. ")
)
(menucmd "T1=TS_TABLET.TABLET1ALT")
(if (< (getvar "EXPERT") 1)
(princ ;|ACAD_MNL_7|;"\nThis area is for your personal applications and menu items.\n")
)
)
)
(princ)
)
and for Tablet 2/3 and four.


And my command-line looks like this (when i start AutoCAD:)

Regenerating model.
Loading dialog-box C:\ts\tca20\tcaapps.DCL......Ready!
Tekening aangemaakt met release 20.16
Tekeningeenheid : MM
Hoofdschaal : 1:20.0
Actuele schaal : 1:20.0
Laatste wijziging op : 30-05-1996
AutoCAD menu utilities loaded.
AutoCAD menu utilities
Loading the Technocad library .....
De TechnoCAD 20 bibliotheek wordt geladen ...
Alternate tablet area 1 loaded.
This area is for your personal applications and menu items.
Alternate tablet area 1 unloaded.
This area is for your personal applications and menu items.
Alternate tablet area 2 loaded.
Zoom and other commands issue CTRL-C's: VPOINT and DVIEW in current UCS mode.
Alternate tablet area 2 unloaded.
Commands operate transparently: VPOINT and DVIEW in Worldview mode.
Alternate tablet area 3 loaded.
Select Metric units from the Numeric menu.
Alternate tablet area 3 unloaded.
Select Imperial units from the Numeric menu.
Alternate tablet area 4 loaded.
Object snap modes issue running modes: commands repeat.
Alternate tablet area 4 unloaded.
Object snap modes issue overrides: commands do NOT repeat.
Command:
_HELP

But thnx for trying to help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top