AutoCAD Civil 3D Customization

AutoCAD Civil 3D Customization

Reply
Distinguished Contributor
116 Posts
1 Kudo
Registered: ‎10-20-2011
Post 1 of 2
Accepted Solution

Changing point number

260 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 2015 SP 1
Sri Lanka

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,

ADN Support Specialist
543 Posts
26 Kudos
Registered: ‎06-09-2009
Post 2 of 2

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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!