AutoCAD Civil 3D General

Reply
Contributor
kevinsbane
Posts: 19
Registered: ‎11-23-2011
Message 21 of 27 (344 Views)

Re: Renumbering Points

09-20-2012 08:04 AM in reply to: Jeff_M

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.

*Expert Elite*
Jeff_M
Posts: 4,175
Registered: ‎07-22-2003
Message 22 of 27 (340 Views)

Re: Renumbering Points

09-20-2012 08:45 AM in reply to: kevinsbane

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.

Jeff_M, also a frequent Swamper
Contributor
kevinsbane
Posts: 19
Registered: ‎11-23-2011
Message 23 of 27 (322 Views)

Re: Renumbering Points

09-25-2012 11:59 AM in reply to: kevinsbane

Jeff, I've modified the lsp as per your instructions, and am now getting the following error:

 

; error: "no applicable method for:" (QueryInterface nil)

*Expert Elite*
Jeff_M
Posts: 4,175
Registered: ‎07-22-2003
Message 24 of 27 (314 Views)

Re: Renumbering Points

09-25-2012 01:06 PM in reply to: kevinsbane

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.

Jeff_M, also a frequent Swamper
Contributor
kevinsbane
Posts: 19
Registered: ‎11-23-2011
Message 25 of 27 (279 Views)

Re: Renumbering Points

09-27-2012 03:21 PM in reply to: Jeff_M

My thanks. I had been using yours, but this one works well.

Valued Mentor
gjrcmb
Posts: 322
Registered: ‎06-21-2011
Message 26 of 27 (188 Views)

Re: Renumbering Points

05-29-2013 09:24 PM in reply to: kevinsbane

Hi folks,

 

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.

 

Gavin

New Member
kpadgett606
Posts: 1
Registered: ‎11-15-2013
Message 27 of 27 (104 Views)

Re: Renumbering Points

11-15-2013 11:27 AM in reply to: gjrcmb

Thanks so much to you all! This worked perfectly, version 2013.  You guys rock!

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Civil 3D Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for AutoCAD Civil 3D helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Civil 3D

Twitter

Facebook

Blogs