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

What happened to ade_expreval function?

1 REPLY 1
Reply
Message 1 of 2
rnicz
609 Views, 1 Reply

What happened to ade_expreval function?

Hello!

Sometimes I use ade_expreval function and I noticed that in AutoCAD Map 2013 it does not work as in previous versions. It simply accepts as many arguments as you pass to it and it always returns nil.

 

Command: (ade_expreval en ".CENTER" "point" "ABC")
nil

Command: (ade_expreval en ".CENTER")
nil

Command: (ade_expreval en)
nil

Command: (ade_expreval)
nil

Is it expected bahaviour?

 

--

Best regards

RN

Tags (1)
1 REPLY 1
Message 2 of 2
mapaquin
in reply to: rnicz

Hi, 


I tested the following in AutoCAD Map 3D 2013 and it works:

(setq myobject (car (entsel "Select an object:")))
(setq value (ade_expreval myobject ".center" "point"))

 

Now what I need to know is the equivalent of "ade_expreval" in ObjectARX (.Net)?

Regards,

Marc 

 

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

Post to forums  

Autodesk Design & Make Report

”Boost