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: 

Can someone tell me whats wrong?

1 REPLY 1
Reply
Message 1 of 2
edmcfd
182 Views, 1 Reply

Can someone tell me whats wrong?

At command prompt:

__AecDisplayManager - works

(command "__AecDisplayManager") - works

_AecSelectDisplay- works

(command "_AecSelectDisplay") - does not work
says unknown command
whats with this?
Makes it hard to customize lisp routines if some commands dont work
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: edmcfd

AecSelectDisplay is defined in AecArchx.lsp as:

 

(defun C:AecSelectDisplay ()
   
(setvar "CMDECHO" 0)
    (if (= (getvar "TILEMODE")
0)
        (command
"_AecDisplayConfigAttachR2")
       
(command "_AecDisplayConfigDefaultR2")
   
)
    (setvar "CMDECHO" 1)
   
(princ)
)

So instead of calling it, you should call the true
commands AecDisplayConfigAttachR2 or AecDisplayConfigDefaultR2.

 

Cheers,

 

Peter Funk

API Product Manager

Building Industry Division

Autodesk, Inc.

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

Post to forums  

Autodesk Design & Make Report

”Boost