+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Full Member
    Using
    not specified
    Join Date
    Jul 2006
    Location
    Hyderabad
    Posts
    84

    Default eliminate redundancy in list

    Registered forum members do not see this ad.

    hi,
    in the list, iam having same coordinates two or three times (redundancy).now i want 2 eliminate the redundacny. for ex , i had given some coordinates below:
    ((8.24811 4.2329 (8.24811 4.2329 (5.14349 5.2851) (5.14349 5.2851)) can anyone give me idea to do this process.
    i need the output as ((8.24811 4.2329(5.14349 5.2851))

    regards
    vivek

  2. #2
    Forum Deity
    Using
    not specified
    Join Date
    Jul 2004
    Location
    Anchorage, Alaska
    Posts
    2,074

    Default

    You could step through each item (point) in the list, create a second list of unique points. Add item from the first list to the second list if not a 'member' of the second list.

    I could give you some code but people have been giving and we haven't heard much back from you. Do you need a copy of "alisp.ref"? You can download it at http://www.inf.bi.ruhr-uni-bochum.de...e/AlispRef.pdf
    You can learn a lot by looking through the reference.

  3. #3
    Forum Deity
    Using
    not specified
    Join Date
    Jul 2004
    Location
    Anchorage, Alaska
    Posts
    2,074

    Default

    I see you posted the same question to the Autodesk forum. If you get your problem solved it would be helpful to others reading this thread if you would report back with the solution.

  4. #4
    Full Member
    Using
    not specified
    Join Date
    Jul 2006
    Location
    Hyderabad
    Posts
    84

    Default

    Registered forum members do not see this ad.

    hi
    i got the solution for this query in autodesk forum. iam giving the url
    http://discussion.autodesk.com/threa...hreadID=490615 . i think it will useful for this forum people.

    regards
    vivek

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts