AutoCAD Architecture Customization
Welcome to Autodesk’s AutoCAD Architecture Customization Forums. Share your knowledge, ask questions, and explore popular AutoCAD Architecture Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lisp that wont work

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
207 Views, 2 Replies

lisp that wont work

I am trying to include this function into my acad.lsp routine so that when I
load ADT2 my hotkey "DL" sets the layerkey for dimensions and calls the
dimlinear command

(defun c:DL ()
(nm_adtlyrset "DIMLINE" "_dimlinear")
)


In ADT2.0 I get this error:

Command: dl
; error: no function definition: NM_ADTLYRSET


Anyone see any problems?
I am pretty new to lisp so any help is appreciated.

Ken Gallegos
kgallegos@lcarch.com
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

is NM_ADTLYRSET a custom command? What is it?
If it is a custom command then you need c:nm_adtlyrset

cj

"Kgallegos" wrote in message
news:954D565FDB6C601651F164DA64B75600@in.WebX.maYIadrTaRb...
> I am trying to include this function into my acad.lsp routine so that when
I
> load ADT2 my hotkey "DL" sets the layerkey for dimensions and calls the
> dimlinear command
>
> (defun c:DL ()
> (nm_adtlyrset "DIMLINE" "_dimlinear")
> )
>
>
> In ADT2.0 I get this error:
>
> Command: dl
> ; error: no function definition: NM_ADTLYRSET
>
>
> Anyone see any problems?
> I am pretty new to lisp so any help is appreciated.
>
> Ken Gallegos
> kgallegos@lcarch.com
>
>
Message 3 of 3
Anonymous
in reply to: Anonymous

this is a function from Nauman @ http://www.cadbazaar.com/ .

It sounds like you don't have the program loaded or on your system.

For an easier way to do this grab ADTcadPac (free) from www.stardsign.com.
Under the ADTcadPac....Control Panel there is a feature for Autolayering
text, dims and hatches. You will not need to customize your toolbars. Just
start any text, dimension or hatch command and they are automatically put on
the correct layer.

Again....this is free!!!!

--
-------------------------------------------------------------------------
Rob Starz
Plogv 3.0 & 2000 (plot logging) for r14 & 2000
***Enhancement Tools for Arch. Desktop *****
!!!!!Beta Testers Needed For DormerX!!!!!!!
http://www.stardsign.com/DormerXForm.htm
http://www.stardsign.com/main.htm

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

Post to forums  

Autodesk Design & Make Report

”Boost