AutoCAD Civil 3D Customization

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

Changing point number

232 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
Posts: 542
Registered: ‎06-09-2009
Message 2 of 2 (218 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 interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

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