.NET

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

The best way to remove duplicate points from DB

235 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,346
Registered: ‎04-09-2008
Message 2 of 4 (228 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 (208 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,346
Registered: ‎04-09-2008
Message 4 of 4 (196 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

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