You want to know how to start a Revit (any version) from the AutoCAD® command line. We have seen that Excel is opened through AutoCAD command line (http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=11938192&linkID=9240617).
Thanks in advance.
If you're asking a question, then the answer would be something similiar to:
(defun c:revit ()
(startapp "C:\\Program Files\\Autodesk\\Revit 2014\\Revit.exe")
(princ)
)
You would need to provide the complete path name, save the text above in lisp file and load it as part of your startup suite contents.
Thanks for your valuable feedback regarding this issue. We have not opened the Revit 2014 through AutoCAD interface with your provided lisp code. We have attached the problem snap for your reference
As I warned you before, "You would need to provide the complete path name." In other words, you must provide the complete path to Revit on your machines. I cannot do that for you. There is almost no need to do this in any case. Revit and AutoCAD don't work together.
We have attached a snap for the file lication and the lisp file content. Please give your suggestion.
Look at my post and the double backslashes. You must escape each backslash by adding an extra backslash at each backslash as I demonstrated in my first post.
We have put the content (as mentioned below) but not working. Please suggest.
(defun c:revit ()
(startapp "C:\\Program Files\\Autodesk\\Revit 2014\\Revit.exe")
(princ)
)