Author Topic: DCL Previewer Not Working  (Read 5174 times)

0 Members and 1 Guest are viewing this topic.

Lee Mac

  • Seagull
  • Posts: 12928
  • London, England
DCL Previewer Not Working
« on: September 06, 2009, 03:02:47 PM »
When using the Visual LISP Editor in AutoCAD to create a DCL file, I find that if I go to "Tools" > "Interface Tools" > "Preview DCL in Editor", nothing happens...

Any ideas as to why this is happening are appreciated immensly..  :wink:


Thanks, Lee

EDIT:  A further update, I find this is printed on the console:

Quote
; warning:cannot create tmp file for DCL: "C:/Program Files/AutoCAD 2010/$vld$.dcl"
« Last Edit: September 06, 2009, 03:17:38 PM by Lee Mac »

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: DCL Previewer Not Working
« Reply #1 on: September 06, 2009, 04:28:52 PM »
XP or Vista ?

do you have "Full Control" Permissions on that folder ?
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Lee Mac

  • Seagull
  • Posts: 12928
  • London, England
Re: DCL Previewer Not Working
« Reply #2 on: September 06, 2009, 04:53:53 PM »
Vista Home Edition  :-)

I have looked at the Security options for the folder, but which group/user names should I be looking at?

I have:

CREATOR OWNER
SYSTEM
Administrators
Users
Trusted Installer

I would have thought "Users", but as the program is trying to create the file, would it be system?
« Last Edit: September 07, 2009, 07:14:50 AM by Lee Mac »

Lee Mac

  • Seagull
  • Posts: 12928
  • London, England
Re: DCL Previewer Not Working
« Reply #3 on: September 06, 2009, 04:56:41 PM »
Good Call Kerry - thanks!

I changed the "Users" group to Full Control, and all now works!  8-)

Thanks for your time  :-)

Lee

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: DCL Previewer Not Working
« Reply #4 on: September 06, 2009, 06:04:55 PM »

You're welcome :)
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

ArgV

  • Guest
Re: DCL Previewer Not Working
« Reply #5 on: September 07, 2009, 11:22:19 AM »

You're welcome :)


Mine doesn't work at my place of employment, I'm sure it's because permissions are set pretty high. Is there a way to change where the editor places it's temp file for DCL pre-viewing?

thanks,

-ArgV

jberns

  • Mosquito
  • Posts: 5
Re: DCL Previewer Not Working
« Reply #6 on: June 26, 2018, 10:12:06 AM »
Community,

I was recently working with DCL files in the AutoCAD Visual LISP Editor (VLIDE).
Many of you have experienced the error about not being able to preview the DCL file.
I found a solution that works for AutoCAD 2019 and Windows 10. Perhaps it can work for you, too.

The DCL preview command attempts to create a file in the 'Program Files' folder , which is protected.
The preview command uses the same "preview" name each time.

Try this:
  • Create a file named $vld$.dcl on your desktop.
  • Copy the file to C:\Program Files\Autodesk\AutoCAD 2019 (provide necessary permission)
  • Now in VLIDE, test the DCL preview command.

Since the file already exists, VLIDE can edit the file instead of having to create it. I tested multiple DCL files successfully.

I hope this is helpful.


Regards,

Jerry

jbuzbee

  • Swamp Rat
  • Posts: 851
Re: DCL Previewer Not Working
« Reply #7 on: June 29, 2018, 02:59:02 PM »
[cough] Don't have that issue with OpenDCL [cough]
James Buzbee
Windows 8