Home > Community > Forums > Custom IC SKILL > Status of Full/Partial select toggle?

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: *

 Status of Full/Partial select toggle? 

Last post Tue, Jan 6 2009 9:04 AM by J Wilwert. 2 replies.
Started by J Wilwert 06 Jan 2009 08:28 AM. Topic has 2 replies and 1332 views
Page 1 of 1 (3 items)
Sort Posts:
  • Tue, Jan 6 2009 8:28 AM

    • J Wilwert
    • Top 200 Contributor
    • Joined on Tue, Jan 6 2009
    • Posts 41
    • Points 625
    Status of Full/Partial select toggle? Reply

    Hi,

    I want to determine the status of the Full/Partial select toggle.

    This code:
    printf("F/P setting: %L" envGetVal( "layout" "partialSelect") )
    always prints a nil. 

    Am I using the correct function?  Ideas anyone?

    THANKS,

    John Wilwert 

    • Post Points: 20
  • Tue, Jan 6 2009 8:52 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,567
    • Points 15,575
    Re: Status of Full/Partial select toggle? Reply

     Hi John,

    The envGetVal() method gets the default setting for the session, but it is also a per-window setting.

    You can get the current window partial select setting using something like the following:

      hiGetCurrentWindow()->partialSelect

     You can see other per-window settings (such as x and y snap spacing) using hiGetCurrentWindow()->??

    Hope this helps.

    Best regards,

    Lawrence.

    • Post Points: 5
  • Tue, Jan 6 2009 9:04 AM

    • J Wilwert
    • Top 200 Contributor
    • Joined on Tue, Jan 6 2009
    • Posts 41
    • Points 625
    Re: Status of Full/Partial select toggle? Reply

    Hi Lawrence,

    Thanks - I made the adjustment in my code and all is good!!

     

    John Wilwert 

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by J Wilwert at 06 Jan 2009 08:28 AM. Topic has 2 replies.