AutoCAD Civil 3D
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Renumberin g Points
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: Renumberin g Points
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: Renumberin g Points
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Jeff, I've modified the lsp as per your instructions, and am now getting the following error:
; error: "no applicable method for:" (QueryInterface nil)
Re: Renumberin g Points
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Kevin, which version of the lisp have you been using, the original I posted or the one modified by Gavin?
Attached is Gavin's version updated to work in 2013.
Re: Renumberin g Points
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
My thanks. I had been using yours, but this one works well.


