DCL dialog that displays slides not showing slides if path contains parenthesis

By Wayne Brill

Issue

I have  a DCL dialog that has slides. The slides are not being displayed. I use the "VSLIDE" command and select a sld and I get  an AutoCAD Message that states "Program Files.slb" "Can’t find file in search path". How can I get the slides to display? 

Solution

If the directory that contains a SLB file contains parenthesis, such as "Program Files (x86)\", the slides will not display. The DCL call into the slide library is being confused. It uses the parenthesis as a pointer into the library.

The solution is to modify the AutoLISP code not to use the path and move the slide library into support search path that does not contain parenthesis.


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading