Results 1 to 10 of 10

Thread: Semantic Error(s)

  1. #1
    Member
    Join Date
    2007-12
    Posts
    6
    Login to Give a bone
    0

    Default Semantic Error(s)

    I am running a vba in Autodesk LDD 06--doing a simple script--the script is adding xref's to all my drawings (alignments)--at sheet 129-- every time I get this semantic error--my script works perfect on 70 sheets. I have tested it over and over--this error does not make sense--its like autocad stopped thinking

    Semantic error(s) in dcl file ade.dcl.
    See file acad.dce for details.
    THEN
    Semantic error(s) in DCL file c:\program files\autodesk land desktop 2006\land\lng\pm.dcl.
    See file acad.dce for details.
    THEN
    Semantic error(s) in DCL file c:\program files\autodesk land desktop 2006\land\lng\pdf.dcl.
    See file acad.dce for details.

    How do I stop this?
    HELP!
    Thanks
    Paul
    Last edited by pzr27; 2008-01-15 at 01:33 PM. Reason: trying to be more specific

  2. #2
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,396
    Login to Give a bone
    0

    Default Re: Semantic Error(s)

    vba doesn't use dcl files.
    C:> ED WORKING....

  3. #3
    Member
    Join Date
    2007-12
    Posts
    6
    Login to Give a bone
    0

    Default Re: Semantic Error(s)

    Yes sir--I know--but during the process of running my VBA---it creates this error after 25 min. into my script.

  4. #4
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,396
    Login to Give a bone
    0

    Default Re: Semantic Error(s)

    Quote Originally Posted by pzr27 View Post
    Yes sir--I know--but during the process of running my VBA---it creates this error after 25 min. into my script.
    Given that you provided very little information, that's all I can tell you. It would help if you posted the code you're using.
    C:> ED WORKING....

  5. #5
    Member
    Join Date
    2007-12
    Posts
    6
    Login to Give a bone
    0

    Smile Re: Semantic Error(s)

    hello out there
    I am running a script file created in VBA format--it adds xrefs to alignment sheets. Every time--at sheet 129---I get an run time error / semantic error calling out (see ade.dcl) its like autocad just stops thinking.
    Any advice? I already reloaded Cad--its not that..

    thanks in advance
    paul

  6. #6
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,396
    Login to Give a bone
    0

    Default Re: Semantic Error(s)

    Quote Originally Posted by pzr27 View Post
    hello out there
    I am running a script file created in VBA format--it adds xrefs to alignment sheets. Every time--at sheet 129---I get an run time error / semantic error calling out (see ade.dcl) its like autocad just stops thinking.
    Any advice? I already reloaded Cad--its not that..

    thanks in advance
    paul
    Paul, please do not post duplicate threads. Its against forum guidelines. I merged the above into the original thread.

    A run-time error is not caused by autocad, but by something your code is doing. You need to troubleshoot your code. We can only help if you post your code and sheet 129. Tip: set your vba options on the general tab to "Break on all errors" and the code should stop executing on the line that causes the error ( unless you're using SendCommand).
    C:> ED WORKING....

  7. #7
    Member
    Join Date
    2007-12
    Posts
    6
    Login to Give a bone
    0

    Default Re: Semantic Error(s)

    yes sir
    is there a time setting in windows for a (ade.dcl) check
    my error occurs at exactly 90 seconds.
    just thinking out loud

  8. #8
    All AUGI, all the time
    Join Date
    2015-12
    Location
    Central Oregon
    Posts
    591
    Login to Give a bone
    0

    Default Re: Semantic Error(s)

    Paul,
    If you'd just post your code it could quickly eliminate the guessing games. Windows does not check dcl files, as those are Autocad specific files.

    Jeff

  9. #9
    All AUGI, all the time
    Join Date
    2015-12
    Location
    Central Oregon
    Posts
    591
    Login to Give a bone
    0

    Default Re: Semantic Error(s)

    Quote Originally Posted by pzr27 View Post
    Yes sir--I know--but during the process of running my VBA---it creates this error after 25 min. into my script.
    Then you say
    my error occurs at exactly 90 seconds
    90 seconds is a long way from 25 min.

  10. #10
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,396
    Login to Give a bone
    0

    Default Re: Semantic Error(s)

    Quote Originally Posted by pzr27 View Post
    yes sir
    is there a time setting in windows for a (ade.dcl) check
    my error occurs at exactly 90 seconds.
    just thinking out loud
    A program only does what it's told. We don't know what you're telling it without seeing your code. Thinking out loud is not troubleshooting. That involves testing what you know against what you don't know. If you don't know anything, run some test to get some info. I gave you a tip on one type of test. We can help you do some more testing if you provided your code. Without that, all we can do is guess. The process is not much different from working on a car. You could say it makes certain noices and maybe its this or that needs replacing. Without doing any diagnostics, you're going to be replacing a lot of parts unnecessarily. You gotta open the hood.
    C:> ED WORKING....

Similar Threads

  1. Replies: 1
    Last Post: 2012-09-20, 09:14 AM
  2. Replies: 0
    Last Post: 2011-03-17, 06:54 PM
  3. Replies: 8
    Last Post: 2009-10-27, 12:03 PM
  4. Civil 3D 2006 Semantic error(s)
    By hunterhyde in forum AutoCAD Civil 3D - General
    Replies: 3
    Last Post: 2008-01-14, 07:31 PM
  5. Semantic errors in DCL files
    By WBT-2011 in forum AutoCAD General
    Replies: 1
    Last Post: 2006-10-05, 11:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •