AutoCAD Civil 3D Customization

Reply
Distinguished Contributor
sacprasanna
Posts: 108
Registered: ‎10-20-2011
Message 1 of 2 (247 Views)
Accepted Solution

Changing point number

247 Views, 1 Replies
07-04-2012 08:21 PM

Hi all,

 

I  am new to customization world and If bellow thing is possible I can learn.:smileyhappy:

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 2012 SP 2
Sri Lanka
ADN Support Specialist
Partha.Sarkar
Posts: 543
Registered: ‎06-09-2009
Message 2 of 2 (233 Views)

Re: Changing point number

07-08-2012 10:40 PM 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

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