+ Reply to Thread
Results 1 to 4 of 4

Thread: Get selected layers

  1. #1

    Get selected layers

    Hi All
    Probably a dumb question, but I couldn't find a function for it. Is there a way to get a list of the selected layers?
    Thanks,
    Silvan

  2. #2
    Senior Member Steve Baer's Avatar
    Join Date
    Apr 2010
    Location
    Seattle
    Posts
    1,463
    Blog Entries
    19
    Hi Silvan,
    We currently do not have any support in the SDK for determining which layers are selected. Of course we can add this in the future, but I would like to know a little more about why you need this so we can make sure to implement the function correctly.
    Thanks,
    -Steve

  3. #3
    Hi Steve
    In the office we could really need a command that selects all objects on all selected layers. I intended to do a script that would:
    1. get all selected layers
    2. sel. the objects on these layers
    Thanks.
    It is not a high priority thing, but would be convenient.
    Best,
    Silvan

  4. #4
    Another thing. Is it possible to access the LayerStateModule from IronPython? I saw it in the documentation, but still with the old vb code examples. It seems not to be a .NET plugin since it has no CLR header and clr.AddReference failed.
    Last edited by Silvan; 10-02-2012 at 01:37 PM.

+ Reply to Thread

Posting Permissions

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