Results 1 to 4 of 4

Thread: Compare LayerTableRecord lists

  1. #1
    Member
    Join Date
    2015-04
    Posts
    15
    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
    Programming Moderator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,501
    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 3620, Core i7-7700K 4.2GHz, 64GB RAM, Samsung 970 Pro M.2, 8GB NVIDIA Quadro P4000

  3. #3
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,179
    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...
    Ted
    ____________________________________________________________________ ________________
    Windows 7 Professional
    AutoCAD 2018 - REVIT 2019 - Inventor Professional 2017 (when I can)

  4. #4
    Member
    Join Date
    2015-04
    Posts
    15
    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
  •