AutoCAD Land Desktop (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Visual LISP Wierdness

1 REPLY 1
Reply
Message 1 of 2
Anonymous
205 Views, 1 Reply

Visual LISP Wierdness

I am experiencing truly bizarre behavior with Visual LISP in LDDT 2.0.
I usually write in vanilla AutoCAD 2000 or Architectural Desktop and
have never seen this before. Yesterday, I began writing a routine for
LDDT and immediately noticed strange happenings. For example, once
I've loaded the Visual LISP editor, if I return to LDDT and execute
any Civil command, I get this at the command line (then the command
executes "normally"):
Command:
nil
nil
nil
nil
nil
nil

In the Visual LISP editor, when I load the contents of the editor
window to the console, I get THIS garbage:
_$

GET_POINT_INFO
SEARCH_STR

ZZ_REGEN_VISIBLE
ZZ_PRINTLAYERS
ZZ_GRP_RESTOREVIEW
ZZ_GRP_WCPACKET
ZZ_GRPTOG
ZZ_GRPSET
ZZ_TRDSET
ZZ_MODSET
ZZ_GRP_VALIDATE
ZZ_GRP_ENVIRON
ZZ_GRP_SET_MOD
ZZ_GRP_SET
ZZ_GRPNAME
ZZ_GRP_WILDCARD
ZZ_TRADENAME
ZZ_MODNAME
ZZ_TRD_SET
ZZ_MOD_SET
ZZ_SHOWLFIX
ZZ_GRP_POP
ZZ_GRP_PUSH
ZZ_GRP_OFF
ZZ_GRP_ON

; 24 forms loaded from # r2/land/grptools.lsp">

The first two functions are mine. What the heck is going on with the
rest? And where the heck am I telling it to load grptools.lsp???

In addition, and this is the really frustrating part, error messages
that should appear in the console window when running code don't.
Instead, the program just stops running and I have to go back to LDDT
and check the command line for the error messages.

Has anybody else experienced this? I called AEC Support and they said
that they don't support customization issues.

Thanks,

**********************************************
Please keep technical issues to the newsgroups
**********************************************

Matt Dillon
Member: Autodesk Discussion Forum Moderator Program

The D.C. CADD Company, Inc.
http://www.dccadd.com
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Could be its error function firing by virtue of not finding the ADCADD_ZZ
block.  To test this, at the AutoCAD command prompt, enter...

 

 (setq e (handent ZZ#BLK))

 

If it doesn't return an entity name, then the either the ADCADD_ZZ block is
missing, or it's in a different paperspace layout from where LDD thinks it
should be (it's a bug descending from R14, where there was only one
paperspace).

 

If that's not it, then it could be that you're running VLisp in Trace Mode
or something.
--
John Uhden, Cadlantic (formerly CADvantage) <
href="mailto:juhden@cadlantic.com">juhden@cadlantic.com
>


style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
I
am experiencing truly bizarre behavior with Visual LISP in LDDT 2.0.
I
usually write in vanilla AutoCAD 2000 or Architectural Desktop and
have
never seen this before. Yesterday, I began writing a routine for
LDDT and
immediately noticed strange happenings. For example, once
I've loaded the
Visual LISP editor, if I return to LDDT and execute
any Civil command, I
get this at the command line (then the command
executes
"normally"):
Command:
nil
nil
nil
nil
nil
nil

In the Visual LISP editor, when I load the contents of the editor
window
to the console, I get THIS garbage:
_$

GET_POINT_INFO
SEARCH_STR

ZZ_REGEN_VISIBLE
ZZ_PRINTLAYERS
ZZ_GRP_RESTOREVIEW

ZZ_GRP_WCPACKET
ZZ_GRPTOG
ZZ_GRPSET
ZZ_TRDSET
ZZ_MODSET

ZZ_GRP_VALIDATE
ZZ_GRP_ENVIRON
ZZ_GRP_SET_MOD
ZZ_GRP_SET

ZZ_GRPNAME
ZZ_GRP_WILDCARD
ZZ_TRADENAME
ZZ_MODNAME

ZZ_TRD_SET
ZZ_MOD_SET
ZZ_SHOWLFIX
ZZ_GRP_POP
ZZ_GRP_PUSH

ZZ_GRP_OFF
ZZ_GRP_ON
 
; 24 forms loaded from #<file
"E:/program files/land desktop
r2/land/grptools.lsp">

The first two functions are mine. What the heck is going on with
the
rest? And where the heck am I telling it to load grptools.lsp???

In addition, and this is the really frustrating part, error
messages
that should appear in the console window when running code
don't.
Instead, the program just stops running and I have to go back to
LDDT
and check the command line for the error messages.

Has anybody else experienced this? I called AEC Support and they
said
that they don't support customization issues.

Thanks,

**********************************************
Please keep technical
issues to the newsgroups
**********************************************

Matt Dillon
Member: Autodesk Discussion Forum Moderator Program

The D.C. CADD Company, Inc.

href="http://www.dccadd.com">http://www.dccadd.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report