CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2863 

CAD tip CAD tip # 5404:

Question CAD 
 %  platform  category 
Q - question

Talking AutoCAD...

A - answer If you are using Windows XP, Vista or Win7 (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 www.cadstudio.cz/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  CAD 
2.2.2007    13394x  
Comments   Tell a friend
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 All CAD tips&tricks

What for is setting the DTEXTED variable to 2? « | » Which CAD formats can be imported into Revit?

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:
Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 More info


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