Regarding Layout PCELL

Discussion in 'Cadence' started by Rajeswaran M, Nov 21, 2005.

  1. Rajeswaran M

    Rajeswaran M Guest

    Andrew,

    I am not sure whether this is already addressed in the forum.

    It is when my pcell needs the following flow,

    Pcell Query Form
    |
    V
    Command Button Comes from CDF
    |
    V
    Callback of Command Button
    |
    V
    Callback opens a Skill Form
    |
    V
    The form calls its "Apply" Callback, once "OK"/"Apply"-ed
    |
    V
    Form "Apply" Callback need to update the pcell
    pareameters, only in the query form not actual update.
    |
    V
    User Clicks OK/APPLY to update the actual Pcell.


    I stuck at the last two steps :|

    Regards
    Rajeswaran
     
    Rajeswaran M, Nov 21, 2005
    #1
  2. I think this should work if you update the effective CDF that is being dealt
    with in the form via the cdfgData variable, in the same way as you would do
    with other CDF callbacks (if people insist on using CDF callbacks to derive data
    - see my views on this in previous postings). So you could do:

    cdfgData->myParam->value=newValue

    for example - in your form's callback code. You probably need to make the popup
    form modal so that you can't change the edit properties form whilst the other
    form is still open?

    Regards,

    Andrew.
     
    Andrew Beckett, Nov 25, 2005
    #2
  3. Rajeswaran M

    Rajeswaran M Guest

    Thanks for your reply. Sorry I think I did not frame the question
    properly. The problem is not updating the pcell/cdf directly, but only
    updating the edit properties form's readonly fields.
     
    Rajeswaran M, Nov 28, 2005
    #3

  4. Accessing cdfgData is altering the effective CDF for the form, before
    it gets applied to the actual instance. So I think this should do what you
    want...

    Andrew.
     
    Andrew Beckett, Nov 28, 2005
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.