ok here is the situation.
4 workstations, 1 with acad 2015, 3 with acad 2014.
company has its own custom ddedit command for text and attributes editing. its uses odcl.
in the code, it uses the "command" function.
in case anyone didnt already know this, in 2015 anything that used (command "..") will not work. you have to have (command-s "..")
anyway, I need a way to make the code recognize what version it needs to work for.
for example
i tried to get it change the "command" function based on the login name
(if (= getvar "loginname") "andrew")
(command-s "chprop" ent "" "C" newval "")
(command "chprop" ent "" "C" newval "")
)
but this didnt work.
does anyone have any suggestions on other ways i can try to change the "command" to "command-s" with either the version being used or based on the user, without making a new file?