CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 6862
Place your Ad on CADforum.cz

CAD tip CAD tip # 5404:

   
Question CAD 
 %  platform  category 
Q - question

Talking AutoCAD...

A - answer 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,Win10  CAD 
2.2.2007    18734×  
Prices - CAD eShop:
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 glossary   



Featuring:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension More info


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