Home > Community > Forums > Custom IC SKILL > Find form name

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

 Find form name 

Last post Fri, Mar 29 2013 8:09 AM by psill00. 2 replies.
Started by psill00 28 Mar 2013 09:35 AM. Topic has 2 replies and 566 views
Page 1 of 1 (3 items)
Sort Posts:
  • Thu, Mar 28 2013 9:35 AM

    • psill00
    • Top 500 Contributor
    • Joined on Tue, Jan 15 2013
    • Posts 18
    • Points 330
    Find form name Reply

    I have a script that sets the value of a path width through the leHiCreatePath() command. However the form name sometimes changes. Ex p, li { white-space: pre-wrap; }le0PathForm, le1PathForm, ...

     

    How do I find the name of the form for a command?

     

    Thanks

    • Post Points: 20
  • Thu, Mar 28 2013 9:43 AM

    Re: Find form name Reply

    leGetTechFormList(techGetTechFile(geGetEditCellView()))->pathForm

    will return the path form object, and the name you can get with:

    leGetTechFormList(techGetTechFile(geGetEditCellView()))->pathForm->hiFormSym

    The leGetTechFormList() returns a disembodied property list of forms which are technology dependent - so need to have different settings for different windows.

    You may also be able to avoid interacting the form by doing:

    leSetEnv("pathWidth" 2.34)

    but it may seed the width based on the minWidth of the layer being used (the first time). I can't remember...

    Andrew.

    p, li { white-space: pre-wrap; }

    • Post Points: 20
  • Fri, Mar 29 2013 8:09 AM

    • psill00
    • Top 500 Contributor
    • Joined on Tue, Jan 15 2013
    • Posts 18
    • Points 330
    Re: Find form name Reply

     Thanks for the info.

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by psill00 at 28 Mar 2013 09:35 AM. Topic has 2 replies.