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

Changing point number

1 REPLY 1
SOLVED
Reply
Message 1 of 2
sacprasanna
517 Views, 1 Reply

Changing point number

Hi all,

 

I  am new to customization world and If bellow thing is possible I can learn.Smiley Happy

I have these point numbers.

1.JPG

Then I add some points.

2.JPG

Then I want to renumber all points 1-9 since there is nine points.

1-1

11-2

2-3

3-4

4-5

5-6

12-7

13-8

6-9

 

Is there any method using any APIs?

Thanks


Chamara Prasanna
AutoCAD Civil 3D 2015 SP 1
Sri Lanka
1 REPLY 1
Message 2 of 2
Partha.Sarkar
in reply to: sacprasanna

Hi Chamara Prasanna,


I suggest you look at the following Blog pots by Isaac -

Fun Renumbering Points

 

Code sample in the above Blog post uses the new COGO Point .NET API in Civil 3D 2013.

 

If you want to achieve similar in Civil 3D 2012 or earlier release, you could use Civil 3D COM API.

 

IAeccPoint:: Number Property -> Gets or sets the identifying number assigned to the point.

 

Hope this helps.

 

Thanks,



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Rail Community


Autodesk Design & Make Report