CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
New CADforum look launched.
Over 1.085.000 registered users (EN+CZ). Try the new Engineering calculator, the CAD conversion wizard, the Color converter and USD viewer. Learn about twiGIS.

CAD tip CAD tip # 5404:

Question

CAD 
 %  platform  category 
A
If you are using Windows XP, Vista or Win7/8/10 (and higher) and a PC with a sound card, you can easily make your AutoCAD talk.

For speech-output you can use the SAPI interface in Windows and call it from AutoCAD e.g. through VisualLISP:

  
(setq sapi (vlax-create-object "Sapi.SpVoice"))  
(vlax-invoke sapi "Speak" "Here is your AutoCAD" 0)  
(vlax-release-object sapi)  
As an example of speech functions - e.g. for loud reading of the layer list, for audio warning when attempting to draw on a locked layer (reactor) or for definition of the general-use SAY command you can use the LISP utility Speak - for download on Download (source code on request).

You can use SAY e.g. for audio-notification of a completed long task (from a menu macro or a script).

ACAD
100% WinXP,Vista,Win7,Win8,Win10CAD
2.2.2007    18805×  
applies to: AutoCAD ·

See also:
Tip 7503:Autodesk 3ds Max keyboard shortcuts.
Tip 5010:Attaching a voice message to a DWG drawing.
Tip 4921:How to disable the sound when creating a mate.
Tip 1818:How to make a multicolored line entity in AutoCAD?


Back    All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD: 
OS: 
Categ: 
Text:
 FAQ
  



Featuring:
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist