Results 1 to 4 of 4

Thread: Compare LayerTableRecord lists

  1. #1
    Member
    Join Date
    2015-04
    Posts
    16
    Login to Give a bone
    0

    Default Compare LayerTableRecord lists

    Hi,
    I have two lists of LayerTableRecords to compare. The code to retrieve the list from one drawing is in a class file. On the button click event, return the list and then compare with the current drawing list. But the properties in the list throws error. Is there another way of comparing layers in the current drawing with another drawing.

    Thanks

  2. #2
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,714
    Login to Give a bone
    0

    Default Re: Compare LayerTableRecord lists

    Post your code?
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  3. #3
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,504
    Login to Give a bone
    0

    Default Re: Compare LayerTableRecord lists

    Quote Originally Posted by sresh View Post
    Hi,
    I have two lists of LayerTableRecords to compare. The code to retrieve the list from one drawing is in a class file. On the button click event, return the list and then compare with the current drawing list. But the properties in the list throws error. Is there another way of comparing layers in the current drawing with another drawing.

    Thanks
    Laytrans? (layer translator) will give you a list of current layers and layers of a drawing you load.
    May be not what you want, but that will give you both lists...

  4. #4
    Member
    Join Date
    2015-04
    Posts
    16
    Login to Give a bone
    0

    Default Re: Compare LayerTableRecord lists

    Thanks Ted! That was really helpful.

Similar Threads

  1. Lists within lists - simplify
    By marko_ribar in forum AutoLISP
    Replies: 26
    Last Post: 2011-05-24, 11:44 AM
  2. Compare Method in .net
    By balubharadwaj in forum Dot Net API
    Replies: 0
    Last Post: 2010-08-11, 10:05 AM
  3. Inventor DWF Compare
    By anthony.hamlin in forum Design Review - Wish List
    Replies: 2
    Last Post: 2008-10-29, 08:44 PM
  4. If you want to compare CPU's
    By de-co1 in forum Hardware
    Replies: 5
    Last Post: 2006-01-10, 11:03 PM
  5. how do others compare?
    By dougsilvi in forum MDT - General
    Replies: 1
    Last Post: 2004-08-27, 05:29 PM

Posting Permissions

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