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")
Command: (ade_expreval en ".CENTER")
Command: (ade_expreval en)
Is it expected bahaviour?
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)?
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register