• 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. To Access user docs (stored in unix area) through Skill...

Stats

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

To Access user docs (stored in unix area) through Skill & bind keys for internal tool integrated in virtuoso !!!

Sonu Chopra
Sonu Chopra over 5 years ago

Hello Everyone,

I have two query for which i need your guidance & help . Please see the queries as below -

 

1. I want to access the user doc (in pdf format stored in unix area) through the skill script . The idea/request is similar to how we access the help documentation from the virtuoso help menu button for various application(I guess it open the corresponding User docs stored in product install area. please correct me if i am wrong). This there is any way to do it ?

2. I want to define various bindkey for a internal tool developed in skill which is integrated inside virtuoso layout suite without overwriting the existing bind key already existing . I came across this-post which seems to be a good solution but just for my understanding is there is another way to do it without defining the code for sequential bindkeys.

Regards

Sonu  

  • Cancel
  • AurelBuche
    AurelBuche over 5 years ago

    For the first question:

    Let's say you have a form variable containing your form structure and a pdf variable (I use evince but you can use any soft to open your pdfs as long as its available from your shell: acroread, firefox, ...)

    (let ((form (hiGetCurrentForm))
           (pdf   "~/my_doc.pdf")
           );
      form->hiFormSym->hiHelpAction = (lsprintf "(shell \"evince %s &\")" pdf)
      );

    This will make the help button of your form execute the string "(shell ...)" which will run evince in a forked sub-process

    If you want to link your doc from another place than a form please provide more details

    Hope this can help,

    Cheers,

    Aurel

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AurelBuche
    AurelBuche over 5 years ago

    For the second question:

    It depends what you want to do: if you have a free key, you could just use it to read the next entered one and run a custom bindkey function accordingly

    You could also set some toggles to switch between the default bindkeys and your custom ones

    Cheers,

    Aurel

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sonu Chopra
    Sonu Chopra over 5 years ago in reply to AurelBuche

    Hello Aurel,

    Thanks for your answer but my query is little different from what you have suggested . I want to access the pdfs docs through menu itself (not from form) .

    For Example :- I want to access my user docs by clicking on the doc menu defined in below Image :

    Regards

    Sonu

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AurelBuche
    AurelBuche over 5 years ago in reply to Sonu Chopra

    This menu seems to be a custom one, if you have access to the code, it is quite easy to modify the callback in order to open some specific pdfs

    If you don't I guess you can still replace the Doc button with a custom one by hand but this might require some investigation

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sonu Chopra
    Sonu Chopra over 5 years ago in reply to AurelBuche

    Hello Aurel,

    Yes , its a custom menu & I have access to code . Currently on my side , I am facing following error while opening with acroread.

    Firstly , I am trying at CIW Window & running the Following Command

    csh("acroread path-of-file") or  I have Also Tried with ipc command itself but its showing following same error

    Regards

    Sonu

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AurelBuche
    AurelBuche over 5 years ago in reply to Sonu Chopra

    I guess you have an issue with your acroread install, this could come from so many sources I don't think I'll be able to help you there.
    (Have you tried with evince [It is is often available by default and way faster] or firefox?)

    Still you don't need to use ipc, the following SKILL functions should suffice shell, sh, csh or system
    (system (lsprintf "acroread %A &" path))
    do not forget the '&' in order to fork your subprocess otherwise Virtuoso will freeze until you close your pdf

    Cheers,

    Aurel

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sonu Chopra
    Sonu Chopra over 5 years ago in reply to AurelBuche

    Hello Aurel,

    Sorry for delay in reply . I  am finally able to solve the issue at my end with the help of IT people of my company . The issue was coming from the fact that some variables are not set correctly which was must to access the usage of acroread.

    Thanks for all the help :)

    Regards

    Sonu 

    • 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