• 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. Open "Choosing Analyses form" for specific analysis with...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 1419
  • 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

Open "Choosing Analyses form" for specific analysis with skill

fatcat1206
fatcat1206 over 9 years ago

Hi All

I am tring to open "Choosing Analyses form" for specific analysis with skill.

What I found is "sevEditSelectedAnas(session)", it can open the "Choosing Analyses Form"

but it requires to select the analyses first, and I cannot find an API to select the analysis.

What I need is something similar as "sevEditSelectedAnas(session)"

instead of having one argument, it can receive the second argument as "analysis name".

Thus some functions like "xxxSevEditAnas(session anaName)"

Then I can open "Choosing Analyses form" for specific analysis defined by the second argument.

 

Best Regards


Yi

  • Cancel
  • fatcat1206
    fatcat1206 over 9 years ago

    Hi All

    I just find a work around for my question.

    on the beginning, I just bring out the "Choose Analyses Form" with "sevEditSelectedAnas()" API.

    Then with "SISdisplayedFormList()", I create a list for all the displayed form.

    by some filtering, I can find the "Choose Analyses Form" of specified test session.

    Then I change the value of "asiiAnalysisRadioField" to the analyses I want.

    It was not a perfect solution, but it works for me :)

    Please find the procedure below.

    Best Regards

    Yi

    xxxSevEditAnas(session anaName)

    procedure(SISsevEditAnas(session anaName)
    let((

        analysisForm
    )
        sevEditSelectedAnas(session)
        analysisForm = eval(car(setof(x SISdisplayedFormList() and(eval(x)~>sevSession == session eval(x)~>asiiAnalysisRadioField))))              
        analysisForm ->asiiAnalysisRadioField->value = anaName
    );let
    );proc


    procedure(SISdisplayedFormList()
    let((
        displayedFormList
    )
        displayedFormList = nil
        foreach(form hiFormList()
            when(and(hiIsForm(eval(form)) hiIsFormDisplayed(eval(form)))
                displayedFormList = cons(form displayedFormList)
            );when
        );foreach
        displayedFormList
    );let
    );proc

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • fatcat1206
    fatcat1206 over 9 years ago

    Hi All

    Some update after I notice the form bring out by "sevEditSelectedAnas(session)" would stop the executing of the script.

    the filtering is not applied to only the displayed form, but to all the forms.

    "sevEditSelectedAnas(session)" is called in the end.


    procedure(SISsevEditAnas(session anaName)
    let((
    )   
        analysisForm = eval(car(setof(x hiFormList() and(eval(x)~>sevSession == session eval(x)~>asiiAnalysisRadioField))))    
        when(and(analysisForm hiIsForm(analysisForm))
            analysisForm ->asiiAnalysisRadioField->value = anaName
        );when
        sevEditSelectedAnas(session)
        analysisForm
    );let
    );proc

    procedure(SISsevEditAnas(session anaName)
    let((

        analysisForm
    )
        sevEditSelectedAnas(session)
        analysisForm = eval(car(setof(x SISdisplayedFormList() and(eval(x)~>sevSession == session eval(x)~>asiiAnalysisRadioField))))              
        analysisForm ->asiiAnalysisRadioField->value = anaName
    );let
    );proc

    - See more at: community.cadence.com/.../36047

    procedure(SISsevEditAnas(session anaName)
    let((

        analysisForm
    )
        sevEditSelectedAnas(session)
        analysisForm = eval(car(setof(x SISdisplayedFormList() and(eval(x)~>sevSession == session eval(x)~>asiiAnalysisRadioField))))              
        analysisForm ->asiiAnalysisRadioField->value = anaName
    );let
    );proc

    - See more at: community.cadence.com/.../36047
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    sevChooseAnalysisForm(session 'tran) 

    Pass the sev session as the first argument, and analysis name as a symbol for the second.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • fatcat1206
    fatcat1206 over 9 years ago

    Hi Andrew

    Thank you very much.

    it works.

    There might be an type error for the API.

    sevChooseAnalysesForm(session 'tran)

    Best Regards

    Yi

    sevChooseAnalysisForm(session 'tran)
    sevChooseAnalysisForm(session 'tran)
    sevChooseAnalysisForm(session 'tran)
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago
    Sorry Yi, my mistake. Silly typo on my part.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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