• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Query with forms

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 14431
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Query with forms

ank0888
ank0888 over 13 years ago
Hi all

 I am trying to create a very simple form where a part of the operation involves selecting an instance from the layout and having it displayed in the String box field

Flow as below:

instSelField = hiCreateCyclicField(

      ?name           'instSelField

      ?choices        list("None" "Select from EV View")

      ?prompt         "Select from"

      ?defValue        "None"

      ?callback        "GetCellInstance()"

       

);inpSelTypeField

 

instDisplayField = hiCreateStringField(

      ?name          'instDisplayField

      ?prompt         "Instance Name"

      ?value          "none"

      ?defValue        value

      ?editable        t

      )

 
value=GetCellInstance()

  procedure(GetCellInstance(f)

  prog((cell_view xx)

  cell_view=geGetEditCellView()

  if(frmSel="Select from V

  xx=car(geGetSelSet()~>name)  

  println(xx)

  return(xx)

  )

  )

    
RNetFileForm =hiCreateAppForm(

?name `RNetFileForm

?formTitle "Create R network Schematic"

?callback `RNetFileFormCB

?fields list(inpSelTypeField instSelField instDisplayField)

?help " "

?unmapAfterCB t

)

hiDisplayForm(RNetFileForm)

 
What I want to have is the following:

1. After selecting "Select from EV View", from instSelField, I want to be able to select the instance from the Layout view (Extracted view or layout)

2. The selected instance name should appear on the instDisplayField

I tried assigning the return value of the procedure that gets the instane name to defValue in instDisplayField but it never gets assigned.

I also need to be able to do this instance selection only when "Select from EV view" is clicked.

Any help?

Thanks
  • Cancel
Parents
  • ank0888
    ank0888 over 13 years ago
    Hi Derek

    Sorry for the delayed response.

    I got this resolved. Resorted to usage of buttons and fixed the problem as usage of enterPoint would not fully satisfy my requirement(double toggle)

    Thanks for the guidance. I do not see the post on the community forum. Hence the reply

    Thanks

    Anukul
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ank0888
    ank0888 over 13 years ago
    Hi Derek

    Sorry for the delayed response.

    I got this resolved. Resorted to usage of buttons and fixed the problem as usage of enterPoint would not fully satisfy my requirement(double toggle)

    Thanks for the guidance. I do not see the post on the community forum. Hence the reply

    Thanks

    Anukul
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information