I've been using this command for a while now (thank you again to Jeff!) but now that I've upgraded to Civil 3D 2013, I'm getting an error;
"; error: bad argument type: stringp nil"
Any help would be appreciated.
Open the lisp file using either Notepad or the VLIDE inside C3D. Find the section of code that looks similar to this, then make it look exactly like this (add a few lines so it finds C3D2013).
(setq verstr (cond ((vl-string-search "\\R18.0\\" prod) "7.0" ) ;;2010 ((vl-string-search "\\R18.1\\" prod) "8.0" ) ;;2011 ((vl-string-search "\\R18.2\\" prod) "9.0" ) ;;2012 ((vl-string-search "\\R19.0\\" prod) "10.0" ) ;;2013 ) )
Save it then reload.
I revised the reorderpoint.lsp program to work with C3D 2014 as well as 2010-2013, which appears to be a slightly different version than the one last posted by Jeff, so I can't tell you what the exact difference is. Also fixed a shortcoming and a bug. As always please test it out to make sure it is doing what you would expect and use at your own risk.