Hi all
Operating system contains 32 and 64 - bit version , autoCAD contains R15~ R20 version .
How to automatically load matching arx ?
(defun S::STARTUP ()
(cond
((= (atoi (substr (getvar "acadver") 1 2))17)
(if (not (member "OpenDCL.17.arx" (arx)))
(if (findfile "OpenDCL.17.arx")
(arxload "OpenDCL.17.arx")
)
)
)
((= (atoi (substr (getvar "acadver") 1 2))18)
(if (not (member "OpenDCL.18.arx" (arx)))
(if (findfile "OpenDCL.18.arx")
(arxload "OpenDCL.18.arx")
)
)
)
)
)
I need for my CAD and OS ,Automatically select the appropriate ARX.
and written this ARX patch & name to the acad.rx Is possible?