• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Valued Contributor
    Posts: 63
    Registered: ‎04-04-2012

    The best way to remove duplicate points from DB

    132 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.

    Please use plain text.
    Moderator
    Alexander.Rivilis
    Posts: 1,168
    Registered: ‎04-09-2008

    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

    Please use plain text.
    Valued Contributor
    Posts: 63
    Registered: ‎04-04-2012

    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?

     

    Please use plain text.
    Moderator
    Alexander.Rivilis
    Posts: 1,168
    Registered: ‎04-09-2008

    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

    Please use plain text.