Home > Community > Forums > Custom IC SKILL > 2 layers by 1 bindkey

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 2 layers by 1 bindkey 

Last post Tue, Apr 2 2013 6:25 AM by dmay. 1 replies.
Started by shazzy 02 Apr 2013 12:26 AM. Topic has 1 replies and 558 views
Page 1 of 1 (2 items)
Sort Posts:
  • Tue, Apr 2 2013 12:26 AM

    • shazzy
    • Not Ranked
    • Joined on Tue, Apr 2 2013
    • Bangalore, Karnataka
    • Posts 7
    • Points 155
    2 layers by 1 bindkey Reply

     

    Could any one tell me how can we toggle the visibility of two ( or more ) layers   [ Layer 1, 2, 3 .. ]  using a single bindkey ?

    • Post Points: 20
  • Tue, Apr 2 2013 6:25 AM

    • dmay
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • Allen, TX
    • Posts 393
    • Points 7,415
    Re: 2 layers by 1 bindkey Reply

    Here is one way to do it: 

    hiSetBindKey("Layout" "<Key>F2" "foreach(lpp list('(\"metal1\" \"drawing\") '(\"metal2\" \"drawing\") '(\"metal3\" \"drawing\")) if(leIsLayerVisible(lpp) leSetLayerVisible(lpp nil) leSetLayerVisible(lpp t)))")

    Derek

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by shazzy at 02 Apr 2013 12:26 AM. Topic has 1 replies.