Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Renumber Points

7 REPLIES 7
Reply
Message 1 of 8
sdbeach
1038 Views, 7 Replies

Renumber Points

Ok, maybe someone can help me, I must be missing something here. I have point numbers 1-35 and need to add 3 additional points. I want to renumber points 2-35 by 3, so point 2 will become point 5 and so on. In the prospector tab, I highlight points 2-35, right click and hit renumber. But after I enter 3 for the additive factor, it starts renumbering the points at the next avalable point number which is 36. Now 2 + 3 does not equal 36. Maybe for AutoCAD math maybe :). What I'm I doing wrong??

Thanks
7 REPLIES 7
Message 2 of 8
sdbeach
in reply to: sdbeach

I got this to work if I start to renumber all the points at the last point (# 35) and renumber each individual point seperatly. This seems like a complete waste of time. What happens if someone has several hundred points.

Oh by the way, I'm using Civil 3D 2008
Message 3 of 8

I haven't tried this so just ignore this if you want, but have you tried renumbering the points like you indicated and then going back and renumbering them again, just having it go to the starting point you want. So make it a two step process, but possibly quicker then doing them one at a time.

Christopher
http://civil-3d.blogspot.com/
Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
Message 4 of 8
Anonymous
in reply to: sdbeach

Renumber way big, in your case just add 100, which will create the new point
number without needing to (Overwrite/Next). Then select those new point #'s,
103-135, and use an additive factor of -97. Your points will now be 1,2,
6-38 (or whatever).

wrote in message news:5717460@discussion.autodesk.com...
I got this to work if I start to renumber all the points at the last point
(# 35) and renumber each individual point seperatly. This seems like a
complete waste of time. What happens if someone has several hundred points.

Oh by the way, I'm using Civil 3D 2008
Message 5 of 8
sdbeach
in reply to: sdbeach

Excellent!! Thank you
Message 6 of 8
Sinc
in reply to: sdbeach

This is something I've wished Autodesk would fix for years now.

Back with R14/Softdesk8, it was possible to do things like renumber points with an additive factor of +1 or +3, and everything went fine. Then it got broken when Autodesk turned Softdesk into Land Desktop, and it's still broken in Civil-3D.

Actually, I've long-wished that there were different renumber options, like the ability to key in a new start number (e.g., select some points, tell Autocad to renumber them starting at 5000). That way, the user doesn't have to calculate the correct + or - delta. I started to write a routine like this for the SincpacC3D, but trying to renumber points via the API in Civil-3D is problematic.
Sinc
Message 7 of 8
Anonymous
in reply to: sdbeach

Hi Sinc,

The only way I can see to do it is to collect the point information, delete
the Point and then add a new one with the new number.

So you would need a form to get the user's instructions on the renumbering
parameters and select the points to be renumbered followed by pseudo code

Define an array of a Type variable to hold all the existing point
information
Loop through user nominated point collection
Assign point data to the Type variable array
Delete Point
End Loop
' By deleting all the existing points first you open up the widest range of
possibilities for new point numbers
' In the case where you renumber all points, you do not need to 'Find' the
point as allowed for below
Loop through the Array
Compute New point number
On Error Resume Next
Check point Number exists with the Point.Find (NewPointNumber)
If Not Err
PointExists
Do whatever appeals to the programmer
Else
Set Point number
Create new point
Assign data from Type variable to new point
End If
End Loop

--

Laurie Comerford
CADApps
www.cadapps.com.au
www.civil3Dtools.com
wrote in message news:5717514@discussion.autodesk.com...
This is something I've wished Autodesk would fix for years now.

Back with R14/Softdesk8, it was possible to do things like renumber points
with an additive factor of +1 or +3, and everything went fine. Then it got
broken when Autodesk turned Softdesk into Land Desktop, and it's still
broken in Civil-3D.

Actually, I've long-wished that there were different renumber options, like
the ability to key in a new start number (e.g., select some points, tell
Autocad to renumber them starting at 5000). That way, the user doesn't have
to calculate the correct + or - delta. I started to write a routine like
this for the SincpacC3D, but trying to renumber points via the API in
Civil-3D is problematic.
Message 8 of 8
Sinc
in reply to: sdbeach

Yeah, that's something I started, but put on the back burner once I realized how much is involved. Then, if you start getting into things like "renumbering points should not affect the dragged state of the point label", it gets really hairy.
Sinc

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report