Saturday, November 21, 2009
Home   |   Search   |   About AUGI   |   My AUGI   |   Join Now

Go Back   AUGI Forums > AUGI Technical (English) > Programming > AutoLISP
 Welcome, Guest. 

Login

Join Now FAQ Members List Calendar Search Today's Posts Mark Forums Read

AutoLISP AutoLISP or Visual LISP, learn both here!

Reply
 
Thread Tools Display Modes
Old 2004-07-09, 05:54 PM   #1
whdjr
I could stop if I wanted to
 
Join Date: 2003-05
Posts: 335
whdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of light
Default DCL hell

I'm using ADT2005 to write some dcl, but I keep getting some kind of weird auditing error that says can't load look in the acad.dce file, but it doesn't tell me what's wrong. Anybody else had this problem or know how to fix my problem?

Thanks,
__________________
Good Blockin'

Will DeLoach
AutoCad / ADT 2006
whdjr is offline   Reply With Quote
Old 2004-07-09, 06:03 PM   #2
Glenndp
AUGI Addict
 
Glenndp's Avatar
 
Join Date: 2001-05
Location: Austin, TX USA
Posts: 2,013
Glenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining star
Default RE: DCL hell

Can you post you code so that we can look at it?
__________________
I explode MTEXT.
Glenndp is offline   Reply With Quote
Old 2004-07-09, 06:05 PM   #3
David.Hoole
Active Member
 
David.Hoole's Avatar
 
Join Date: 2000-12
Location: Yorkshire
Posts: 81
David.Hoole has a bright futureDavid.Hoole has a bright futureDavid.Hoole has a bright futureDavid.Hoole has a bright futureDavid.Hoole has a bright futureDavid.Hoole has a bright future
Default RE: DCL hell

Will

The ACAD.DCE file is written to every time a DCL file errors out. The DCE file should detail the error & the line number of the DCL file it occurred on. Can't remember where the DCE file is dumped though. You'll have to use Explorer to search.
__________________
Regards,

David
David.Hoole is offline   Reply With Quote
Old 2004-07-09, 06:11 PM   #4
Mike.Perry
Administrator
 
Mike.Perry's Avatar
 
Join Date: 2001-03
Location: Fenton, MO via the UK
Posts: 13,500
Mike.Perry has disabled reputation
Default RE: DCL hell

Hi

Might want to take a look at the following thread -

Cannot load dcls

Have a good one, Mike
__________________
..........MeWhee

Last edited by Mike.Perry : 2004-07-09 at 06:14 PM. Reason: Missing closing ]
Mike.Perry is offline   Reply With Quote
Old 2004-07-09, 06:19 PM   #5
whdjr
I could stop if I wanted to
 
Join Date: 2003-05
Posts: 335
whdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of light
Default RE: DCL hell

Here is my code:
Code:
textreplace : dialog {
  label = "Replace Text" ;
  : row {
  : column {
	: edit_box {
	  key = "eb1";
	  label = "Find text string:";
	  edit_width = 20;
	}
	: edit_box {
	  key = "eb2";
	  label = "Replace with:";
	  edit_width = 20;
	}
  }
  : boxed_column {
	: toggle {
	  key = "tog1";
	  label = "Find whole words only";
	  }
	: toggle {
	  key = "tog2";
	  label = "Match case";
	  }
	}
	}
  ok_cancel ;
}
acad.dce has this:

====== DCL semantic audit of C:/Program Files/Autodesk Architectural Desktop 2005/$vld$.dcl ======
Error. Widget named "default_dcl_settings" is undefined.
Error in "textreplace". (widget type = ** undefined **, key = "")
Widgets of this type cannot have children.
Error in "textreplace". (widget type = ** undefined **, key = "")
Widgets of this type cannot have children.
Error in "textreplace". (widget type = ** undefined **, key = "")
Widgets of this type cannot have children.

Who can make sense of this?
__________________
Good Blockin'

Will DeLoach
AutoCad / ADT 2006
whdjr is offline   Reply With Quote
Old 2004-07-09, 06:24 PM   #6
David.Hoole
Active Member
 
David.Hoole's Avatar
 
Join Date: 2000-12
Location: Yorkshire
Posts: 81
David.Hoole has a bright futureDavid.Hoole has a bright futureDavid.Hoole has a bright futureDavid.Hoole has a bright futureDavid.Hoole has a bright futureDavid.Hoole has a bright future
Default RE: DCL hell

Will

Insert the following as the first line of your DCL file:

dcl_settings : default_dcl_settings {audit_level = 3; }
__________________
Regards,

David
David.Hoole is offline   Reply With Quote
Old 2004-07-09, 06:27 PM   #7
whdjr
I could stop if I wanted to
 
Join Date: 2003-05
Posts: 335
whdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of light
Default RE: DCL hell

i did that already, but I did it again and this is what I got:

====== DCL semantic audit of C:/Program Files/Autodesk Architectural Desktop 2005/$vld$.dcl ======

Error. Widget named "default_dcl_settings" is undefined.

Error in "textreplace". (widget type = ** undefined **, key = "")
Widgets of this type cannot have children.

Error in "textreplace". (widget type = ** undefined **, key = "")
Widgets of this type cannot have children.

Error in "textreplace". (widget type = ** undefined **, key = "")
Widgets of this type cannot have children.

Hint in "textreplace". (widget type = dialog, key = "")
Nothing in this dialog has is_default or is_cancel set.
__________________
Good Blockin'

Will DeLoach
AutoCad / ADT 2006
whdjr is offline   Reply With Quote
Old 2004-07-09, 07:02 PM   #8
Glenndp
AUGI Addict
 
Glenndp's Avatar
 
Join Date: 2001-05
Location: Austin, TX USA
Posts: 2,013
Glenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining starGlenndp is a shining star
Default RE: DCL hell

Are you using the Visual LISP editor to preview the DCL or running the lisp routine that calls it? I can preview the file in the editor with no problems.

Could this be a problem with the base.dcl file? Maybe it's corrupted or AutoCAD can't find it. I'm not sure if that would cause this problem.
__________________
I explode MTEXT.
Glenndp is offline   Reply With Quote
Old 2004-07-10, 08:56 PM   #9
peter
Vice President / Director
 
peter's Avatar
 
Join Date: 2000-09
Location: Kenosha Wisconsin
Posts: 375
peter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the stars
Default RE: DCL hell

Try this

Code:
textreplace : dialog {
  label = "Replace Text" ;
  : row {
    : column {
      : edit_box {
        key          = "eb1";
        label        = "Find text string:";
        width   = 20;
      }
      : edit_box {
        key          = "eb2";
        label        = "Replace with:";
        width   = 20;
      }
    }
    : boxed_column {
      : toggle {
        key          = "tog1";
        isEnabled    = true;
        label        = "Find whole words only";
      }
      : toggle {
        key          = "tog2";
        isEnabled    = true;
        label        = "Match case";
      }
    }
  }
  ok_cancel ;
}
When I took out the toggles the dialog box worked ok, it seems that the is_Enabled statements fixed it for me.

Peter Jamtgaard
peter is offline   Reply With Quote
Old 2004-07-12, 02:56 PM   #10
whdjr
I could stop if I wanted to
 
Join Date: 2003-05
Posts: 335
whdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of light
Default RE: DCL hell

Thanks for all your comments it seems that all it needed was the weekend off. I came in this morning and it worked. Go figure.

Thanks,
__________________
Good Blockin'

Will DeLoach
AutoCad / ADT 2006
whdjr is offline   Reply With Quote
Reply


Go Back   AUGI Forums > AUGI Technical (English) > Programming > AutoLISP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Revit 6.1 rendering hell..... m.meijer Revit - Rendering 3 2004-06-02 10:28 PM


All times are GMT +1. The time now is 04:27 PM.