.NET

.NET

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

The best way to remove duplicate points from DB

367 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,457
Registered: ‎04-09-2008
Message 2 of 4 (360 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 (340 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,457
Registered: ‎04-09-2008
Message 4 of 4 (328 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
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.