Home > Community > Forums > Custom IC SKILL > Display text in layout window prompt line

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

 Display text in layout window prompt line 

Last post Tue, Aug 20 2013 11:51 AM by TaherKotb. 4 replies.
Started by TaherKotb 20 Aug 2013 04:18 AM. Topic has 4 replies and 397 views
Page 1 of 1 (5 items)
Sort Posts:
  • Tue, Aug 20 2013 4:18 AM

    • TaherKotb
    • Top 500 Contributor
    • Joined on Wed, Apr 24 2013
    • Posts 27
    • Points 375
    Display text in layout window prompt line Reply

    Hello,

    i need to display text in the prompt line of the layout window, i tried to do it as shown;

     procedure( tprompt

    ?prompts " point at the location to place M1  "

    );end_procedure

     But instead, the text is printed in prompt line of CIW. What i am missing ? 

     Thanks in advance

    Best Regards

    Taher 

    • Post Points: 35
  • Tue, Aug 20 2013 5:13 AM

    • StefanSL
    • Top 150 Contributor
    • Joined on Mon, Nov 2 2009
    • Reutlingen, Baden-Wurttemberg
    • Posts 47
    • Points 860
    Re: Display text in layout window prompt line Reply

     Hi   Taher,

    i asked the same some time ago, have a look at my post

    http://www.cadence.com/Community/forums/p/17584/1247322.aspx

    --> setPrompts("my message" "")

    refer to sklangref

    hope this helps

    Stefan

    • Post Points: 20
  • Tue, Aug 20 2013 5:25 AM

    • TaherKotb
    • Top 500 Contributor
    • Joined on Wed, Apr 24 2013
    • Posts 27
    • Points 375
    Re: Display text in layout window prompt line Reply
    Hi Stefan Thanks alot for the help, it works exactly the way i want. Best Regards
    • Post Points: 5
  • Tue, Aug 20 2013 11:17 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,567
    • Points 15,575
    Re: Display text in layout window prompt line Reply

    Hi Taher,

    You may also want to look at or consider the "enter" functions that allow you to temporarily set the prompt during a command that gathers data - for example enterPoints, enterPath, enterPolygon...  Each of the enter functions accepts a ?prompts argument for this purpose.

    I hope that this helps you.

    regards,

    Lawrence.

    • Post Points: 20
  • Tue, Aug 20 2013 11:51 AM

    • TaherKotb
    • Top 500 Contributor
    • Joined on Wed, Apr 24 2013
    • Posts 27
    • Points 375
    Re: Display text in layout window prompt line Reply

    Hello Lawrence,

     Thanks for your reply.

    I tried to look for a function to temporarily display the text in the prompt line just like the enter functions but i couldn't find one. My Case with different than in gathering data, i need to display the text between procedures so that only factor i am waiting for is for the code to exit executing certain procedure. So i used the setPrompts() inside if loops to solve temporary display issue.

     Best Regards 

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by TaherKotb at 20 Aug 2013 04:18 AM. Topic has 4 replies.