.NET

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

The best way to remove duplicate points from DB

343 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,432
Registered: ‎04-09-2008
Message 2 of 4 (336 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 (316 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,432
Registered: ‎04-09-2008
Message 4 of 4 (304 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
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.