Home > Community > Forums > Custom IC SKILL > skill code to change the direction of pin,and symbol of that pin also

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

 skill code to change the direction of pin,and symbol of that pin also 

Last post Tue, Jun 2 2009 3:44 AM by Andrew Beckett. 1 replies.
Started by SUBBHAREDDY 02 Jun 2009 03:19 AM. Topic has 1 replies and 1328 views
Page 1 of 1 (2 items)
Sort Posts:
  • Tue, Jun 2 2009 3:19 AM

    skill code to change the direction of pin,and symbol of that pin also Reply

    Hi

     I want to change the direction of pin from input to inout pin,and at the same time i want to change the symbol

    of that pin also in schematic view.

    Pls write a sample code for the above requirement.

     Thanks and regards

    Subbhareddy 

     

    • Post Points: 20
  • Tue, Jun 2 2009 3:44 AM

    Re: skill code to change the direction of pin,and symbol of that pin also Reply
    term=dbFindTermByName(cvId "termName")
    term~>direction="inputOutput"
    master=dbOpenCellViewByType("basic" "iopin" "symbol")
    foreach(pin term~>pins
    pin~>fig~>master=master
    )

    Note that in OA versions potentially you might need to update pin~>figs (rather than fig) but I don't think the schematic editor makes use of multiple pin figures yet.

    Regards,

    Andrew
    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by SUBBHAREDDY at 02 Jun 2009 03:19 AM. Topic has 1 replies.