.NET

Reply
Valued Contributor
dynamicscope
Posts: 95
Registered: ‎04-04-2012
Message 1 of 4 (356 Views)

The best way to remove duplicate points from DB

356 Views, 3 Replies
01-15-2013 11:49 PM

ObjectARX 2007 with C#

 

What would be the best way to remove duplicate points from DB?

I do not think iterating through the whole database and compare each point's coordinate would be the best way since it will take a lot of time if the points are many.

I once saw a CAD command that does it for me. (which I can't remember now)

Maybe I could use that command.

 

Always Thank you for your help.

Moderator
Alexander.Rivilis
Posts: 1,449
Registered: ‎04-09-2008
Message 2 of 4 (349 Views)

Re: The best way to remove duplicate points from DB

01-16-2013 01:14 AM in reply to: dynamicscope

dynamicscope wrote:

...I once saw a CAD command that does it for me. (which I can't remember now)

Maybe I could use that command.


Overkill


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Valued Contributor
dynamicscope
Posts: 95
Registered: ‎04-04-2012
Message 3 of 4 (329 Views)

Re: The best way to remove duplicate points from DB

01-16-2013 06:04 PM in reply to: Alexander.Rivilis

Unfortunately, it looks like ExpressTool supports "overkill."

I need to cover even the version without ExpressTool.

 

By the way, I found the command.

It was "mapclean" in AutoCAD 2010 Civil 3D (not sure non-Civil 3D also has that command).

But AutoCAD 2007 does have "mapclean" command. :smileysad:

 

Looks like I have to manually implement the function?

 

Moderator
Alexander.Rivilis
Posts: 1,449
Registered: ‎04-09-2008
Message 4 of 4 (317 Views)

Re: The best way to remove duplicate points from DB

01-17-2013 02:31 AM in reply to: dynamicscope

dynamicscope wrote:

Looks like I have to manually implement the function?

 


Yes.


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!