The versions go from 4.0 for 2007 to 10.0 for 2013 , but if I specify 11.0 for 2014, I get an error:
; error: Automation Error. Problem in loading application
The same routine works fine in 2013 using 10.0.
I am trying to use
(setq acadapp (vlax-get-acad-object))
(setq C3Dapp (vla-getinterfaceobject acadapp aecappno))
(setq C3Ddoc (vla-get-activedocument C3Dapp))
Where aecappno = "AeccXUiLand.AeccApplication.11.0" (10.0 for 2013, 9.0 for 2012, etcetera.)
I know I need to use .net for Civil 3D apps, but I know LISP now and have a client for whom I am trying to provide a quick solution for a request. I didn't think it'd be too difficult, but I have found a stumbling block right at the beginning.
Thanks in advance to anyone who can enlighten me.
Best regards,
Tim
Solved! Go to Solution.
Solved by Jeff_M. Go to Solution.
I almost emailed you directly because I figured you'd be the one to answer this, Jeff. As always, you're a huge help.
Talk to you soon...
Tim
ok, I found the anwer:
If you are using the COM API, you need to update the object version to 10.5 (from 10.4 used in AutoCAD Civil 3D 2015).