Glad I could help, Kevin.
Bill, thanks fot checking it out! So the numbers change on screen as you pick them? I wonder why they go awy and come back afterwards for me. (I would prefer they changed as I went, for sure.)
i just tried it here in C3D 2012. It works fine and I can see the point numbers change as I pick them. Thanks. This will be useful.
I think it has to do with point groups. Once you change the point number, since point groups are (generally) defined by point number, it gets put into the default "All Points" point group. I find that if I have my "All Points" group set to a point label, it will show up as changed as soon as I click on the point. Perhaps one of your point groups was based on descriptions?
download to a suitable location on your pc, then in C3d type APPLOAD at the command line and browse to the lsp, then hit LOAD (I think), then type the name of the command at the command line.
That should do it for you
the lisp only works if you want to renumber higher than the highest number already in the drawing.
can it be tweaked to be able to use numbers smaller than the smallest number also?
It could, do that, yes. It could be made fancier in a number of ways, but the fancier it gets, the more checks need to be added to prevent errors. That's why I forced it to use only numbers higher than those already in the drawing.....I didn't have a lot of time to write the checks & balances to make it a smooth operation with options. If I get some free time I'll consider adding in some options, but no guaranties as to when that may be. The code is not protected, so if anyone else feels like making revisions, feel free to do so.
Of course, you could always just use this to get the points in the correct order, then use C3D's builtin renumbering to get them to the desired point range(s).
For those of you that are still subscribing to this thread, or for those who surf the forum and may be interested.
The attached lisp file is a modified version of Jeff's reorderpoints.lsp application posted earlier in this discussion. The primary change I made to the application is the addition of a Fence selection mode that allows users to select multiple points through a Fence selection process. You can use multiple fence lines, where the fence lines are drawn to aid in the point selection process. Fence lines are drawn on the current layer with bylayer settings, and the user has the option of erasing or retaining the fence lines. If you run the application and then perform an Undo operation, all of the changes during the last lisp session will be undone.
The application still requires the user to specify a point number that is greater than the highest existing point number. However, as Jeff indicated you can always use the built-in Renumbering feature (SelectAndEditPointNumbers command) to "Enter an additive factor for point numbers" including entering a negative number to decrement the point numbers. So if you had existing point numbers that where all under 100 for instance, you could use the lisp application to start the renumbering at 101 and renumber all the points, and then use the built-in renumbering command to decrement all the point numbers by -100 (if you wanted to the points to start at number 1).
Please test out the application, and confirm its functionality within its intended use.
Thanks to Jeff for putting together the original application, and being open to modifications by others.
I noticed an issue with the fence selection that I put together in my modified version of reorderpoints.lsp. If you are in the process of placing a fence and change your view such that all points are not within your view that you have marked with the fence, only the points that are in your view are reordered. I think this is a limitation of the fence selection process. I'll see if I can resolve the issue.
Alright, I resolved the fence selection issue that I mentioned in my last post, although I think the code may be able to be improved upon. See attached revision to the modified application.
As before, please test it out.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register