AutoCAD Map 3D Developer

Reply
New Member
rnicz
Posts: 1
Registered: ‎05-29-2012
Message 1 of 2 (274 Views)

What happened to ade_expreval function?

274 Views, 1 Replies
06-06-2012 01:55 AM

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

Member
mapaquin
Posts: 3
Registered: ‎06-11-2012
Message 2 of 2 (257 Views)

Re: What happened to ade_expreval function?

06-11-2012 12:16 PM 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 

 

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community