• 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. ddsFileBrowseCB getting cache file name not the actual file...

Stats

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

ddsFileBrowseCB getting cache file name not the actual file name

Alvin028
Alvin028 over 3 years ago

Hi, 

I am having an issue on my code which uses a ddsFileBrowseCB function but it is getting the cache file name and not the actual file name.


hiCreateFormButton(

?name 'drcBrowse

?buttonText "Browse"

?enabled nil

?callback "ddsFileBrowseCB(hiGetCurrentForm() 'drcRunset \"*.runset.*\" 'existingFile)"

)

I can see and browse the files properly but after I select it, it is showing the cache file name where the runsets are softlinked to.

Is there any option to get the real actual file name (.runset) if the file is linked to a cache server?

Thanks.

Best regards,

Alvin

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    Alvin,

    As I mentioned in this other post thread, I filed a request in the last week or so to stop ddsFileBrowseCB from expanding symbolic links, and it was fixed in IC6.1.8/ICADVM20.1 ISR24 which should be available 25th March 2022.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Alvin028
    Alvin028 over 3 years ago in reply to Andrew Beckett

    Hi Andrew,

    Oops sorry I was not aware of it. Thanks for your reply. I will wait for the IC6.1.8/ICADVM20.1 ISR24.

    Thank you and stay safe.

    Best regards,

    Alvin

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Alvin028

    Alvin,

    Another possibility would be to use the hiCreateFileSelectorField function which creates a string field with a built-in button to launch the linked browser. This doesn't expand the symbolic links. Full details on using it are in the documentation - but at least with this you wouldn't need to wait until ISR24.

    Andrew

    • 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